Chrome Web App Development Summary, Chromewebapp summary _php Tutorial

Source: Internet
Author: User
Tags php framework

Chrome Web App Development Summary, Chromewebapp Summary


Objective

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


What's the difference between a Chrome Web App and an extension

Actually, a lot of users are still not sure.
, a recent article by Google Code Labs is a good explanation of the problem for us.
In short, an app should have its own UI (user interface) that appears in the browser, and the Chrome extension is mostly a reminder message or a tool to enhance the user's web experience.
For developers, this article also explains in depth the. CRX This packaging format and the permissions that are required for automatic Updates. In addition, you should also know whether you want to implement the function should be expanded or made into a web app, if you want to do a web app, is to make a managed (Hosted) app or package (Packaged) app--the former only through Manifest.json files to redirect users to Another secure web address, while the latter. crx file contains all the necessary. css. html files to run the App.

I think Chrome OS is awesome, so I'd like to ask what is the basis for developing his web app?

Chrome OS is running a Chrome browser on Linux that supports all of the original web apps

http://www.bkjia.com/PHPjc/874633.html www.bkjia.com true http://www.bkjia.com/PHPjc/874633.html techarticle Chrome Web App Development Summary, Chromewebapp Summary 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. Like ...

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