Ionic + AngularJS, ionicangularjs

Source: Internet
Author: User
Tags zurb foundation

Ionic + AngularJS, ionicangularjs
Ionic Framework

IonicFramework is the youngest in our top 5 stack, as the alpha was released in late November 2013. Built on top of the popularAngularJSFramework from Google, Ionic utilizes AngularJS to provide the application structure, while Ionic itself focuses on the user interface. in other words, we see a match between the power of Angular and the beauty of Ionic UI.

Ionic provides a set of Angular ctives VES (custom HTML elements) for it's own components, making it as easy to use the widgets as writing a line of HTML code. in addition to directives, Ionic uses Angular's touch recognizers, view animation logic, HTML sanitation, and asynchronous communication.

While you can use Ionic straight after cloning or unpacking the library zip, you can also install their Node. js-based CLI through NPM and start quickly with their seed project.

Even though Angular is currently the Ionic's workhorse, the developers are keeping their (and ours) options open with plans to support other frameworks such as Knockout or EmberJS. this particle review is strongly influenced by AngularJS and it doesn' t vouch for the accuracy with other frameworks when Ionic support emerges.

MV * Pattern

Angular JS used to be an MVC framework, but over time it became closer to MVVM where the $ scope object acts as a ViewModel, manipulated through a Controller function. with such a flexible approach developers can use MVC or MVVM per their liking, as long as the goal is achieved: separating presentation from business logic while boosting maintainability and productiability.

Class System

Neither Angular JS or Ionic are object oriented JavaScript frameworks so they don't make use of a class system. this can (but shouldn't) be observed as a weakness or a strength, depending on the level of simplicity requested on the JavaScript front end.

DOM control

Angular embeds jqLite, a fraction of jQuery that allows DOM manipulation in a cross-browser compatible manner, leaving a very small footprint. For extended functionality, jQuery can be loaded with the document.

UI and Theming

When it comes to UI, Ionic shows its potential. ionic's true beauty is its simplicity. in almost Google-like (but not Android-like) style it uses the existing HTML5 and CSS3 capabilities to deliver fast experiences. the speed is exactly in its simplicity-no unnecessary shadows, rounded corners, gradients but just flat, clean simple, powerful, unadulterated HTML5. Ionic doesn't promise you native-looking UI, but it does deliver very fast and consistent interface, even on the devices you considered to be slow with rendering HTML5 apps.

Customizable through SASS, Ionic comes with handy variables and mixins to extend for customized appearance. Additionally, it's packaged with its own open sourced icon library featuring over 440 icons to chose from.

Widgets

Ionic's components are powerfully simple. they are custom HTML elements, as per Angular directive principles, but Ionic also provides Controllers to complement configuration and interaction. while some frameworks may provide more complex widgets, Ionic offers somewhat simpler building blocks that can be combined to deliver rich user interfaces. as of alpha version, the framework provides with a plethora of form elements, header and footer bars, buttons, a simple list with customizable items, grid elements, and more.

Responsive Design (RWD)

Internally, Ionic leverages Responsive Web Design principles to yield optimized experience such as based on screen size or pixel density. Any app-specific RWD scenarios are welcome and will play very nicely with Ionic.

Desktop support

Meant for hybrid mobile applications (installable on a mobile device through an app store), Ionic is not meant to be used for desktop web apps/sites. while the content will be displayed nicely, it will be optimized for its intended purpose. those wishing to create apps that fit both environments can stay with Angular JS, but use Zurb Foundation, Twitter Bootstrap or similar UI library.

Third party plugins

No third party plugins or extensions are available at the moment.

Extensibility

Much of extensibility in Ionic will come either from (S) CSS or creating Angular ctives ves and controllers. that makes extensibility an integral part of application development-unavoidable, but not demaning at all. even the developers new at Ionic and Angular won't struggle.

Building tools

Grunt is used for building Ionic making that #1 JavaScript building tool that much more attractive for your project's purposes.

Packaging (native)

Ionic apps will require external tools for packaging purposes. It is tested to work with PhoneGap, Cordova, and Trigger. io.

Device API

Ionic does not support device APIs.

Documentation

Ionic's documentation is decently complete considering the alpha stage of the framework. example rich, the docs show a preview of what most of components will do on a mobile device. and the preview is very attractive, too.

Angular's documentation will satisfy beginner developers, but may soon become insufficient. As the appetites for information grow to expert levels, developers may be forced to resort to the source code or elsewhere.

License

Both Ionic and AngularJS are available under the MIT license.

Community

Since it's in a very early stage of life, Ionic still doesn' t have a mature community. however, given the same circumstance, its popularity is raising faster than for your other (and older) frameworks.

What wocould they say?

JavaScript developer:
A refreshing and straight forward way of building rich apps no matter the size. The MVC and MVVM patterns are doneCum grano salis, As the old latin wowould say had they had the opportunity to work with Angular JS. additionally, as views are defined using HTML and data models as simple as plain JavaScript objects, the developers will easily end up writing less code and use less of the expensive time to produce high quality apps.

Designer:
Passionate designers will love Ionic as it allows them to customize the layout to their liking, without having to modify someone else's complicated widgets and potentially break the app's functionality. customizing the UI may remind of working with Zurb Foundation or Twitter Bootstrap.

Product manager:
The initial barrier to get started with AngularJS is very low, without needing to know the entire framework in order to build an easy app. however, beginners faced with more advanced tasks in a complex application will face an increasingly steep learning curve. also, Angular is built with testing in mind. make use of it early in the game.

Keep in mind that Ionic is meant to be used for hybrid apps andNotMobile websites.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.