21

Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Embed Size (px)

Citation preview

Page 1: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe
Page 2: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Phone Gap is a mobile applicationdevelopment frame work based upon the open source apache cordova project.

Developed by Nitobi software Bought by Adobe.

It allows the users to develop mobile application using HTML,CSS,J.S without losing the naive features

Ex: GeolocationCameraAccelerometers

Page 3: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Cordova CLI

Phone Gap CLI – Supports cloud building. This is the additional feature supported in Phone Gap .

Page 4: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Build Apps with web standard on HTML5, CSS, javascript

Deploy to multiple platforms

Cloud Building

Page 5: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Hybrid application Native application

Cross platform support

YES NO

Distribution YES(Possibility for app store’s rejection even in google play store)

YES

Performance for normal apps

Fast Faster

Hardware intensive apps

Performance is not so good Good performance

Cost Lower budget cost (With good web developer, Web based code can support multiple mobile platforms)

Higher

Page 6: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe
Page 7: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe
Page 8: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Common debugging tools which is used in the web development can be used.

For platform specific debugging, corresponding SDK debugging tools can be used (xcode, Eclipse etc)

Page 9: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe
Page 10: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Performance: Single Page is faster than Multi Page

App Assets Load: In  Single Page, Most of the needed files

are loaded at once or at least after the first page is loaded, whereas multi-page requires loading content each time user navigates to a new page

Page 11: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Page Transition:

In Single Page Application page navigation can be added like native application.

In Multi Page Application there is no animation supported in page navigation.

Offline Support:

Single page should point to the cache manifest. When navigation to new HTML page with manifest attribute, the page itself is assumed to be part of application.

In multipage application all HTML pages should be list out in the manifest file.

Page 12: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

Memory Management

More Complex

Modularity

Page 13: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

To use the Native features of the mobile, we need to make use of the Plug in

For example to make use of the below features we need to make use of the plug in.

-Compass, Contacts, Notification,Media, Storage

Page 14: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe
Page 15: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

HTML templates decouples the UI definition (HTML markup) from your code.

Examples of Templates EnginesMustache.jsHandlebars.jsUnderscore.js

Page 16: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

In index.html:

<h1>Handlebars JS Example</h1><script id="some-template" type="text/x-handlebars-template"> <table>    <thead>        <th>Name</th> <th>Job Title</th> <th>Twitter</th>    </thead>    <tbody>        {{#users}}

<tr> <td>{{fullName person}}</td> <td>{{jobTitle}}</td>

<td><a href="https://twitter.com/{{twitter}}">@{{twitter}}</a></td>        

</tr>        {{/users}}    </tbody> </table> </script>

How to use templates?How to use templates?

Page 17: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

In .js file:

var source = $("#some-template").html(); var template = Handlebars.compile(source); var data = { users:

[ {person: {firstName: "Garry", lastName: "Finch”},  jobTitle: "Front End Technical Lead",         twitter: "gazraa” }, {person: { firstName: "Garry", lastName: "Finch”},      jobTitle: "Photographer”,       twitter: "photobasics”}] }; Handlebars.registerHelper('fullName', function(person) {  return person.firstName + " " + person.lastName;}); $('body').append(template(data));

How to use templates?How to use templates?

Page 18: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

No need of SDK and IDE

Free for open source

QR quote for app installation

Page 19: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

No need to generate UI on the server

No need to wait for data to display UI

Cache Everything

Use Hardware acceleration

Avoid Click events

Page 20: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

 Poor performance, especially if your app is graphically intense, i.e. a game.

 Lack of pre-built UI widgets, transitions, standard controls, etc. Your development time can take longer, especially if you want a polished-looking app with a native look and feel.

New features of mobile platforms are not integrated immediately in the phoneGap.

Page 21: Phone Gap is a mobile application development frame work based upon the open source apache cordova project. Developed by Nitobi software Bought by Adobe

http://phonegap.com/ https://build.phonegap.com/