EXT JS 6 Development Example (i)

Source: Internet
Author: User
Tags php and mysql

For a long time did not write articles, the main reason and everyone almost, all for life, engaged in two small projects. These two small projects are coincidentally, can use Ext JS to develop, this is the practice of using Ext JS 6 is a good opportunity, nature will not miss.

Many readers may ask, why not directly use the familiar Ext JS 4来 development, while using the structure completely changed the Ext JS 6? First of all, the EXT JS 4 MVC mode, the use of the controller I think too cumbersome, not very like, and 6 of the changes to the view model and the controller with view bindings, I think it would be very comfortable to write code. Secondly, for the use of components, familiar with the Ext JS 4, the use of Ext JS 6 does not have too much difficulty. Overall, the upgrade to Ext JS 6, the main difficulty in using is familiar with the MVVM architecture, there is no too much difficulty.

Of these two projects, one is using ASP. NET MVC as the background, and one using the YII framework of PHP as the background. Why do two projects use a different background? This is mainly because of the nature of the project, if the general project, I prefer to use the simple and fast ASP. NET MVC as the background, the development of first-class efficiency. However, one of the items required to be able to run on a USB device is to put the application on USB, plug the USB into any computer, and then start a Web service and database service to run the application. After searching the search engine, we found two feasible solutions, one is XAMMP and the other is usbwebserver. XAMMP Although the function is complete, but the operation will have some small problems, and usbwebserver although the function is weak, such as a long time did not upgrade, PHP and MySQL version are relatively old, but simple use, so I finally chose the usbwebserver.

Although two projects use different backstage, but for Ext JS Development, in fact, not much impact, because Ext JS itself has the foreground and background separation mode, as long as follow the "Ext JS 4.2 Combat" a book in the standardization of the data of the line.

The digression says too much! Anyway, back to this series of articles. This series of articles will be combined with my development experience to be familiar with the SIMPLECMS system upgrade to ext JS 6, although said to be an upgrade, but in fact is a re-construction process, it is estimated that some views can be reused, but need to add a view model and controller for them.

The background of this series of articles will be used in the background of the previous Ext JS 4 series articles, basically in addition to the need to modify the first page, the other do not need to make any changes. Therefore, if you are contacting this series for the first time, please download the source code for the previous series, or rebuild the background file according to the article.

Here, by the way, whether I will be out of the Ext JS 6 book problems. I have considered publishing the Ext JS 6 books, but the book is not only the author of a person's affairs, but also need to cooperate with the press, so, for the moment, I have written about Ext JS 6 book. Also, if there is any cooperation, advice, advice and advice, you can join the Exchange Group "391747779" Contact me. If there are any projects need me to provide support, co-development, outsourcing, etc., can also contact me.

Thanks a lot!


EXT JS 6 Development Example (i)

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.