AngularJS has become quite a popular framework so I decided to write an example for Worklight using Angular and Ionic. On the Worklight Getting Starting Page, there are examples forjQuey Mobile,Dojo Mobile, andSencha Touch. Worklight is an open platform that allows you to use any HTML 5 based framework. In my forth coming book, (Modern Web Development with IBM WebSphere) , we show a couple of examples, one using Dojo Mobile with Bootstrap, and another using (jQuery Mobile with requirejs, backbone, and Handlebars). This video blog will walk you through AngularJS and Ionic. I have also provided the project archive.
It was great to see how you boostrap angular, and appreciated the use of Ionic - very popular right now. A very useful post with the video walk-through and source code, thanks!
Ionic framework uses Angularjs to give the application structure, while Ionic itself concentrates on the client interface. As it were, we see a match between the force of Angular and the magnificence of Ionic UI.
Nice tutorial. I'm using it in a project. I would like to know how to have different header for each tab bar? I need to add buttons to some tabs (in the header or nav bar) and there is one tab that I don't need neither header nor nav bar. Is that possble? How? thanks and congrats for the tutorial. Cassio
Nice tutorial, it's a great help for integrating great mobile technologies in Worklight. However, it seems that latest version of Ionic does not integrate well with latest version of Worlight. I have made some tests with Worlight 6.2 and Ionic beta 13 and it renders blank page. Have you heard about this ?
Hi Roland. I can confirm Jerry's problem. It also has a discussion here: http://forum.ionicframework.com/t/blank-screen-occurs-with-only-partial-header-when-using-later-versions-of-ionic/6031/6
I was having the same issue, i downloaded the latest ionic version and tried to use but a blank page is shown, the DOM looks like it is ok, but the render is not performed. So i was trying diffent version and i found a solution, i use the lates js version ( * Ionic, v1.0.0-beta.11) and css (* Ionic, v1.0.0-beta.1)
Afeter some testing it looks like is working. i will continue working on this way
Great walkthrough of using Angular, Ionic, and Worklight
ReplyDeleteVery cool and interactive example of AngularJS with Ionic in WL land. Thanks Roland for sharing this with us.
ReplyDeleteIt was great to see how you boostrap angular, and appreciated the use of Ionic - very popular right now. A very useful post with the video walk-through and source code, thanks!
ReplyDeleteThis looks really cool. Can you tell us the steps you took to get the ionic libraries working in worklight. Thanks
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIonic framework uses Angularjs to give the application structure, while Ionic itself concentrates on the client interface. As it were, we see a match between the force of Angular and the magnificence of Ionic UI.
ReplyDeleteNice tutorial. I'm using it in a project.
ReplyDeleteI would like to know how to have different header for each tab bar?
I need to add buttons to some tabs (in the header or nav bar) and there is one tab that I don't need neither header nor nav bar.
Is that possble? How?
thanks and congrats for the tutorial.
Cassio
The Ionic documentation talks about how to do this: http://ionicframework.com/docs/api/directive/ionTabs/
DeleteI think you would embed within the tab your header rather than have one.
Nice tutorial, it's a great help for integrating great mobile technologies in Worklight.
ReplyDeleteHowever, it seems that latest version of Ionic does not integrate well with latest version of Worlight.
I have made some tests with Worlight 6.2 and Ionic beta 13 and it renders blank page.
Have you heard about this ?
Jerry, please install the latest update for Worklight through the Eclipse market place.
DeleteHi Roland. I can confirm Jerry's problem. It also has a discussion here: http://forum.ionicframework.com/t/blank-screen-occurs-with-only-partial-header-when-using-later-versions-of-ionic/6031/6
ReplyDeleteIt happens early on 1.0.0-beta.2
Hello All.
ReplyDeleteI was having the same issue, i downloaded the latest ionic version and tried to use but a blank page is shown, the DOM looks like it is ok, but the render is not performed.
So i was trying diffent version and i found a solution, i use the lates js version ( * Ionic, v1.0.0-beta.11) and css (* Ionic, v1.0.0-beta.1)
Afeter some testing it looks like is working. i will continue working on this way
Saludos
I have imported your project, added the stub to my mobile first platform server, deployed the adapter, but i cannot get the accounts i get this error,
ReplyDelete[ERROR ] FWLSE0099E: An error occurred while invoking procedure [project DoradoBankProject]DoradoBankAdapter/HttpRequestFWLSE0100E: parameters: [project DoradoBankProject]
Http request failed: org.apache.http.conn.HttpHostConnectException: Connect to localhost:9102 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
FWLSE0101E: Caused by: [project DoradoBankProject]org.apache.http.conn.HttpHostConnectException: Connect to localhost:9102 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refusedjava.lang.RuntimeException: Http request failed: org.apache.http.conn.HttpHostConnectException: Connect to localhost:9102 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused