Chrome Web App Development Summary _php instance

Source: Internet
Author: User
Preface

This article focuses on the problems and processes that you encounter in developing web apps, and some of the pits that have been (how) filled. If you want to "how to develop Web App" or "30 minutes to learn to develop Web app," Please visit the Official Development Manual (documentation). (with links below).

Background

It feels like everyone is arguing about two things, the Web app and the native app. Not long ago to participate in the HTML5 watcher activities, the parties are in response to the pros and cons of the two, differences, compatibility, popularization and so on. Of course, it's worth it to be controversial.

Chrome Web App

It's not the first time that Chrome has been on top of every major news media yet again. Chrome itself has a strong plug-in market, and recently (and not recently) launched the Chrome Web App. Chrome has been developed for a long time, and it's confusing to Chrome's own API, but it's also a powerful potential for web apps to get dizzy.

Make a web App

Just trying to transplant a simple "web project" into a chrome web App, which says porting, is basically rebuilding, oh no, it's new ... Now the Web project is a PHP, MySQL do backend, a very common PHP site, using the Slim as PHP framework.
So how to build a new chrome Web app. Obviously, using PHP is a little more likely. Prior to the use of Google's own angularjs to do development, so it is familiar, and the official development manual also made ANGULARJS the preferred framework for the recommended development. And thanks to the SLIM framework (PHP), it's all restful.
This is probably the way of thinking:
Everything works with Angularjs and restful, so that local apps only have static pages, and then send request data back via BA Ba ....

Feel

Using Google's own angularjs, almost most of the browser features can be used, compatibility is very good, and desktop software is almost no bad, the most important thing is that I do not learn software development for many years (try to do not have the results of Delphi) Wish ... The Web app is too powerful!

Resources (ladders required)

Chrome Web App Chinese Development Manual
Google Plus Chinese Community
Official English Forum

Problem

Several issues were encountered during the development process:

Permissions can not only invoke functions, but also add them if using external resources;
You can confidently use similar-webkit, even V8 APIs;
-webkit-app-region:drag can control the application drag;
If you insist on frame: ' None ' then don't forget to add the Close button;

Looking forward to communicating with you

  • 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.