This ia a home of the new book (work in progress) «Enterprise Web Development. From Desktop to Mobile». There are four co-authors of this book: Yakov Fain, Victor Rasputnis, Viktor Gamov, and Anatole Tartakovsky. The book is released under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license meaning you can both get a copy of the book for free or help to further improve it. This book will be printed and available for purchase via O'Reilly Media. Readers will have an option of purchasing this book in a number of digital formats.
- Ch1. HTML5 and its New APIs
- Ch3. Mocking Up the “Save a Child” Web Site
- Ch4. Using Ajax and JSON
- Ch6. «Save a Child» with JQuery framework
- Ch7. «Save a Child» with Ext JS framework
- Ch8. Replacing HTTP with WebSockets
- Ch9. Securing Web Applications
After explaining the JSON data format we’ll deploy Save a Child under the remote Tomcat server on one of our servers. We’ll also provide the instructions on installing Tomcat on the local machine for those readers who want to do it. Then goes the explanation of the AJAX way of retrieving data from the remote server without the need to refresh the entire page. In the final version of the Web site the data feed will be organized by a Java program deployed under a Java EE server – we’ll use Oracle’s GlassFish 4.0 for being the leader in implementing all the latest Java EE specifications.
In this chapter we’ll use some of the code from ch 2-5, but this time we’ll use the Sencha’s Ext JS framework. The reader will learn the principles of building Web sites with Ext JS. We’ll demo the use of our own open source generator Clear Data Builder that can generate the EXT JS code based on Java classes. By the end of this chapter the reader will have working version of the Save a Child Web site. We’ll also compare the pros and cons of its Ext JS and JQuery’s versions.
This chapter will add authentication and authorization features for the users Save a child. They will be able to login to this Web site and perform different actions according to their role.
The Save a Chile site is a rather small Web project. But in the enterprise world, lots of applications have a lot larger code base. In this chapter we’ll give an example of how to build modularized Web applications that can load the code on as needed basis. We’ll also give an example of how to organize the data exchange between different modules in a loosely coupled fashion.
The chapter starts with a brief overview of different approaches to making the Web site to the mobile space. One of the approaches is having only one Web site for all devices. This approach is is called Responsive Design, and we’ll modify the design of the Save a Child site to introduce different layouts for the desktop, tablet, and smartphone devices. By the end of this chapter the site Save a Child will automatically change its layout based on the user’s device without the losing any functionality.
This chapter will demonstrate how to build the mobile version of Save a Child using JQuery Mobile framework.
This chapter will demonstrate how to build the mobile version of Save a Child using the Sencha Touch framework.
This chapter explains how to add the bridge HTML and native mobile API with the Phone GAP framework. It’ll add the GPS service to the mobile version of “Save a Child”.