Extjs Table of Contents

Total Page:16

File Type:pdf, Size:1020Kb

Extjs Table of Contents extjs #extjs Table of Contents About 1 Chapter 1: Getting started with extjs 2 Remarks 2 Versions 2 Examples 2 Creating a Hello World Application – Via Sencha Cmd 2 Installation & Setup 3 Creating a Hello World Application – Manually 4 Chapter 2: Common Pitfalls & Best Practices 8 Examples 8 Separation of Concerns 8 Worse 8 Better 8 Explanation 9 Extend vs Override 9 Overrides: 9 Extensions: 9 Explanation 10 Separate Overrides from Bug Fixes 10 Chapter 3: Event Model 12 Introduction 12 Examples 12 Controllers Listening to Components 12 Chapter 4: ExtJS AJAX 14 Introduction 14 Examples 14 Basic Request 14 Chapter 5: MVC / MVVM - Application Architecture 15 Examples 15 Introduction to models 15 ExtJS 4 MVC CRUD App Example 15 Credits 21 About You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: extjs It is an unofficial and free extjs ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official extjs. The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners. Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to [email protected] https://riptutorial.com/ 1 Chapter 1: Getting started with extjs Remarks ExtJS is a JavaScript framework from Sencha for building Rich Internet Applications. It boasts one of the largest libraries of pre-built modular UI components. Since version 5.0, Sencha has advocated the use of Model-View-ViewModel (MVVM) architecture on its platform. It also maintains support for Model-View-Controller (MVC) architecture which was the primary architecture style supported up through version 4.x. Additionally, Sencha has focused on outfitting ExtJS with mobile-centric and responsive web application capabilities. Its former Sencha Touch framework has been integrated with ExtJS since version 6.0 with efforts to combine the customer bases and consolidate redundancies in the new combined framework. Versions Version Release Date 6.2 2016-06-14 — 6.0 2015-08-28 5.0 2014-06-02 4.0 2011-04-26 3.0 2009-07-06 2.0 2007-12-04 1.1 2007-04-15 Examples Creating a Hello World Application – Via Sencha Cmd This example demonstrates creating a basic application in ExtJS using Sencha Cmd to bootstrap the process - this method will automatically generate some code and a skeleton structure for the project. Open a console window and change the working directory to an appropriate space in which to work. In the same window and directory run the following command to generate a new application. https://riptutorial.com/ 2 > sencha -sdk /path/to/ext-sdk generate app HelloWorld ./HelloWorld Note: The -sdk flag specifies the location of the directory extracted from the framework archive. In ExtJS 6+ Sencha have merged both the ExtJS and Touch frameworks into a single codebase, differentiated by the terms classic and modern respectively. For simplicity if you do not wish to target mobile devices, an additional flag may be specified in the command to reduce clutter in the workspace. > sencha -sdk /path/to/ext-sdk generate app -classic HelloWorld ./HelloWorld Without any further configuration, a fully functional demo application should now reside in the local directory. Now change the working directory to the new HelloWorld project directory and run: > sencha app watch By doing this, the project is compiled using the default build profile and a simple HTTP server is started which allows the viewing of the application locally through a web browser. By default on port 1841. Installation & Setup Typical usage of ExtJS leverages the framework to build single-page rich-applications (RIA). The simplest way to get started is to make use of Sencha Cmd, a CLI build tool covering most of the general concerns in a deployment life-cycle, primarily: • package and dependency management • code compilation / bundling and minification • managing build strategies for different targets and platforms » Download Sencha Cmd The second step is download the SDK, ExtJS is a commercial product - to obtain a copy, one of: • login to Sencha Support for the commercially licences version (product page) • apply for an evaluation copy which will be valid for 30 days • request the GPL v3 version available for open-source projects (note that you may not be able to access the latest version with this option) After downloading the SDK ensure the archive is extracted before proceeding. Note: See the official Getting Started documentation for a comprehensive guide to ExtJS projects. After installing Sencha Cmd, it's availability can be verified by opening a console window and running: > sencha help https://riptutorial.com/ 3 We now have the tools necessary to create and deploy ExtJS applications, take note of the directory location where the SDK was extracted as this will be required in further examples. Creating a Hello World Application – Manually Let's start using ExtJS to build a simple web application. We will create a simple web application which will have only one physical page (aspx/html). At a minimum, every ExtJS application will contain one HTML and one JavaScript file—usually index.html and app.js. The file index.html or your default page will include the references to the CSS and JavaScript code of ExtJS, along with your app.js file containing the code for your application (basically starting point of your web application). Let’s create a simple web application that will use ExtJS library components: Step 1: Create a empty web application As shown in the screenshot, I have created an empty web application. To make it simple, you can use any web application project in the editor or IDE of your choice. Step 2: Add a default web page If you have created an empty web application, then we need to include a web page that would be the starting page of our application. https://riptutorial.com/ 4 Step 3: Add Ext Js References to Default.aspx This step shows how we make use of extJS Library. As shown in the screenshot in the Default.aspx, I have just referred 3 files: • ext-all.js • ext-all.css • app.js Sencha has partnered with CacheFly, a global content network, to provide free CDN hosting for the ExtJS framework. In this sample I have used Ext's CDN library, however we could use the same files (ext-all.js & ext-all.css) from our project directory instead or as backups in the event the CDN was unavailable. By referring to the app.js, it would be loaded into the browser and it would be the starting point for our application. Apart from these files, we have a placeholder where UI will be rendered. In this sample, we have a div with id “whitespace” that we will use later to render UI. <script type="text/javascript" src="http://cdn.sencha.com/ext/trial/5.0.0/build/ext- all.js"></script> <link rel="stylesheet" type="text/css" https://riptutorial.com/ 5 href="http://cdn.sencha.com/ext/trial/5.0.0/build/packages/ext-theme- neptune/build/resources/ext-theme-neptune-all.css"/> <script src="app/app.js"></script> Step 4: Add app folder & app.js in your web project ExtJS provides us with a way to manage the code in an MVC pattern. As shown in the screenshot, we have a container folder for our ExtJS application, in this case 'app'. This folder will contain all of our application code split into various folders, i.e., model, view, controller, store, etc. Currently, it has only the app.js file. Step 5: Write your code in app.js App.js is the starting point of our application; for this sample I have just used minimum configuration required to launch the application. Ext.application represents an ExtJS application which does several things. It creates a global variable ‘SenchaApp’ provided in the name configuration and all of the application classes (models, views, controllers, stores) will reside in the single namespace. Launch is a function that is called automatically when all the application is ready (all the classes are loaded properly). In this sample, we are creating a Panel with some configuration and rendering it on the placeholder that we provided in the Default.aspx. Ext.application({ name: 'SenchaApp', launch: function () { Ext.create('Ext.panel.Panel', { title: 'Sencha App', width: 300, height: 300, bodyPadding:10, renderTo: 'whitespace', html:'Hello World' }); } }); https://riptutorial.com/ 6 Output Screenshot When you run this web application with Default.aspx as a startup page, the following window will appear in the browser. Read Getting started with extjs online: https://riptutorial.com/extjs/topic/819/getting-started-with- extjs https://riptutorial.com/ 7 Chapter 2: Common Pitfalls & Best Practices Examples Separation of Concerns Worse ViewController: // ... myMethod: function () { this.getView().lookup('myhappyfield').setValue(100); } //... View: //... items: [ { xtype: 'textfield', reference: 'myhappyfield' } ] //... Better ViewController: // ... myMethod: function () { this.getView().setHappiness(100); } //... View: //... items: [ { xtype: 'textfield', reference: 'myhappyfield' } ], setHappiness: function (happiness) { this.lookup('myhappyfield').setValue(happiness); } //... https://riptutorial.com/ 8 Explanation In this example, the two snippets of code perform the same task. However, in the event the reference to myhappyfield changes or the methodology of indicating 'happiness' changes significantly, the former approach requires changes each place the reference is used.
Recommended publications
  • Pragmatic Guide to Javascript
    www.allitebooks.com What Readers Are Saying About Pragmatic Guide to J a v a S c r i p t I wish I had o w n e d this book when I first started out doing JavaScript! Prag- matic Guide to J a v a S c r i p t will take you a big step ahead in programming real-world JavaScript by showing you what is going on behind the scenes in popular JavaScript libraries and giving you no-nonsense advice and back- ground information on how to do the right thing. W i t h the condensed years of e x p e r i e n c e of one of the best JavaScript developers around, it’s a must- read with great reference to e v e r y d a y JavaScript tasks. Thomas Fuchs Creator of the script.aculo.us framework An impressive collection of v e r y practical tips and tricks for getting the most out of JavaScript in today’s browsers, with topics ranging from fundamen- tals such as form v a l i d a t i o n and JSON handling to application e x a m p l e s such as mashups and geolocation. I highly recommend this book for anyone wanting to be more productive with JavaScript in their web applications. Dylan Schiemann CEO at SitePen, cofounder of the Dojo T o o l k i t There are a number of JavaScript books on the market today, b u t most of them tend to focus on the new or inexperienced JavaScript programmer.
    [Show full text]
  • THE FUTURE of SCREENS from James Stanton a Little Bit About Me
    THE FUTURE OF SCREENS From james stanton A little bit about me. Hi I am James (Mckenzie) Stanton Thinker / Designer / Engineer / Director / Executive / Artist / Human / Practitioner / Gardner / Builder / and much more... Born in Essex, United Kingdom and survived a few hair raising moments and learnt digital from the ground up. Ok enough of the pleasantries I have been working in the design field since 1999 from the Falmouth School of Art and onwards to the RCA, and many companies. Ok. less about me and more about what I have seen… Today we are going to cover - SCREENS CONCEPTS - DIGITAL TRANSFORMATION - WHY ASSETS LIBRARIES - CODE LIBRARIES - COST EFFECTIVE SOLUTION FOR IMPLEMENTATION I know, I know, I know. That's all good and well, but what does this all mean to a company like mine? We are about to see a massive change in consumer behavior so let's get ready. DIGITAL TRANSFORMATION AS A USP Getting this correct will change your company forever. DIGITAL TRANSFORMATION USP-01 Digital transformation (DT) – the use of technology to radically improve performance or reach of enterprises – is becoming a hot topic for companies across the globe. VERY DIGITAL CHANGING NOT VERY DIGITAL DIGITAL TRANSFORMATION USP-02 Companies face common pressures from customers, employees and competitors to begin or speed up their digital transformation. However they are transforming at different paces with different results. VERY DIGITAL CHANGING NOT VERY DIGITAL DIGITAL TRANSFORMATION USP-03 Successful digital transformation comes not from implementing new technologies but from transforming your organisation to take advantage of the possibilities that new technologies provide.
    [Show full text]
  • HCI Lessons Using AJAX for a Page-Turning Web Application
    CHI 2011 • Session: Reading & Writing May 7–12, 2011 • Vancouver, BC, Canada Bells, Whistles, and Alarms: HCI Lessons Using AJAX for a Page-turning Web Application Juliet L. Hardesty Abstract User Interface Design Specialist This case study describes creating a version of METS Digital Library Program Navigator, a page-turning web application for multi- Indiana University part digital objects, using an AJAX library with user Herman B Wells Library, W501 interface components. The design for this version 1320 E. 10th Street created problems for customized user interactions and Bloomington, IN 47405 USA accessibility problems for users, including those using [email protected] assistive technologies and mobile devices. A review of the literature considers AJAX, accessibility, and universal usability and possible steps to take moving forward to correct these problems in METS Navigator. Keywords AJAX, accessibility, universal usability ACM Classification Keywords H.5.2. Information interfaces and presentation: User interfaces - user-centered design, standardization. General Terms Design, human factors, standardization Copyright is held by the author/owner(s). CHI 2011, May 7–12, 2011, Vancouver, BC, Canada. Introduction ACM 978-1-4503-0268-5/11/05. AJAX (Asynchronous JavaScript and XML) is a widely used method for developing Web 2.0 applications 827 CHI 2011 • Session: Reading & Writing May 7–12, 2011 • Vancouver, BC, Canada (called Rich Internet Applications, or RIA’s), both to incorporate the Semantic Web into Web 2.0 enhance certain features
    [Show full text]
  • Download Ebook ^ Javascript: Ajax, Cross-Site Scripting, Couchdb
    W5CAMG0U1NWQ < PDF ^ JavaScript: Ajax, Cross-Site Scripting, CouchDB, WebKit, JQuery, Dojo Toolkit, Bookmarklet, ActionScript, V8,... JavaScript: A jax, Cross-Site Scripting, Couch DB, W ebKit, JQuery, Dojo Toolkit, Bookmarklet, A ctionScript, V 8, SpiderMonkey, Qooxdoo, Ext JS Filesize: 7.09 MB Reviews It becomes an amazing book which i actually have at any time study. It is actually loaded with wisdom and knowledge You wont sense monotony at at any time of your respective time (that's what catalogues are for regarding should you request me). (Rosina Schowalter V) DISCLAIMER | DMCA EUQW6UIGSWMD > Kindle « JavaScript: Ajax, Cross-Site Scripting, CouchDB, WebKit, JQuery, Dojo Toolkit, Bookmarklet, ActionScript, V8,... JAVASCRIPT: AJAX, CROSS-SITE SCRIPTING, COUCHDB, WEBKIT, JQUERY, DOJO TOOLKIT, BOOKMARKLET, ACTIONSCRIPT, V8, SPIDERMONKEY, QOOXDOO, EXT JS Books LLC, Wiki Series, 2011. Condition: New. This item is printed on demand for shipment within 3 working days. Read JavaScript: Ajax, Cross-Site Scripting, CouchDB, WebKit, JQuery, Dojo Toolkit, Bookmarklet, ActionScript, V8, SpiderMonkey, Qooxdoo, Ext JS Online Download PDF JavaScript: Ajax, Cross-Site Scripting, CouchDB, WebKit, JQuery, Dojo Toolkit, Bookmarklet, ActionScript, V8, SpiderMonkey, Qooxdoo, Ext JS R6UOTKQRMAXT « PDF \ JavaScript: Ajax, Cross-Site Scripting, CouchDB, WebKit, JQuery, Dojo Toolkit, Bookmarklet, ActionScript, V8,... See Also A Smarter Way to Learn JavaScript: The New Approach That Uses Technology to Cut Your Effort in Half Createspace, United States, 2014. Paperback. Book Condition: New. 251 x 178 mm. Language: English . Brand New Book ***** Print on Demand *****.The ultimate learn-by-doing approachWritten for beginners, useful for experienced developers who want to... Read PDF » Why We Hate Us: American Discontent in the New Millennium Random House USA Inc, United States, 2009.
    [Show full text]
  • Sencha Web Application Lifecycle Management Platform
    Sencha Web Application Lifecycle Management Platform Businesses are under more pressure than ever to deliver Develop sophisticated web applications to their customers as quickly as possible. These applications are expected to be high quality, It’s critical for developers to reduce time to market and deliver visually compelling and run on multiple devices including desktops, high-quality products. We provide comprehensive frameworks tablets, and smartphones. Plus, many of these applications will that teams can use to build cross-platform web applications. We live for several years meaning that organizations have to consider offer both a JavaScript framework – Sencha Ext JS, and a Java the cost of maintaining and upgrading the application over the framework – Sencha GXT. long term. Sencha Ext JS For developers who want to use HTML5, CSS, and JavaScript, there The Sencha Mission is no better choice than Ext JS. More than 60% of the Fortune 100 Our mission is to help organizations deliver the right experience on rely on Ext JS and its comprehensive component library. the right screen at the right time. To deliver on this mission, we’ve It comes with everything a developer needs to create a created the Sencha Web Application Lifecycle Management Platform complex web application including UI component, data package, for designing, developing, deploying and managing cross-platform advanced charts, and application templates to help developers web applications. jumpstart their development efforts. Plus from a single code base, developers can create
    [Show full text]
  • Crossmos Hybrid Mobile Web-Apps & Sencha Platform
    Crossmos Hybrid Mobile Web-apps & Sencha Platform Ruben Smeets Kris Aerts 17/06/2015 Agenda • Hybrid App Technology o Hybrid vs Native vs Web o Patterns o Web portion architecture o Common pitfalls and best practices • Choosing a hybrid app approach • Latest developments • Sencha platform hands-on experience Low Ranking Hybrid vs Native vs Web High Ranking Native apps Hybrid apps Web apps Through native app Search on referrals Ease of discovery stores (Facebook, twitter, etc.) Fragmented across Reach Works on almost all devices multiple platorms Access to Depth of Full acces to platform native API at Limited by browser experience resources the expense of sandbox UI Customer Apple Appstore Complete ownership of ownership & terms enforce onerous terms customer Engagement and Notifications and home No notifications, difficult to recurring use screen icon get user to save the link No accepted method of Monetisation High through payment (Chrome web- potential Appstores store) Ease of cross- Replication developing Significant fragmentation platform for multiple platforms for advanced apps development VisionMobile Cross-Platform Developer Tools 2012 Hybrid vs Native vs Web Low Ranking Continued High Ranking Native apps Hybrid apps Web apps Web content Upgradebility & Through native app updates require No approval needed updates stores ** no approval Debugging & Full support by native Browser debugging tools testing development tools automated testing tools Vendor lock-in No code sharing Limited to no code sharing (framework) between platforms between frameworks Cloud-based Multi-platform Local build for each build tools No cross-platform building build support platform seperately offered by required frameworks **Enterprise app stores require no update approval.
    [Show full text]
  • Qooxdoo Interview Questions and Answers Guide
    Qooxdoo Interview Questions And Answers Guide. Global Guideline. https://www.globalguideline.com/ Qooxdoo Interview Questions And Answers Global Guideline . COM Qooxdoo Job Interview Preparation Guide. Question # 1 What is Qooxdoo? Answer:- qooxdoo is an open source Ajax web application framework. It is an LGPL- and/or EPL-licensed multipurpose framework that includes support for professional JavaScript development, a graphical user interface (GUI) toolkit and high-level client-server communication. Read More Answers. Question # 2 Is qooxdoo freely available? Answer:- Yes. qooxdoo is Open Source, dual-licensed under LGPL/EPL, i.e. the "GNU Lesser General Public License (LGPL)" and the "Eclipse Public License (EPL)". As a recipient of qooxdoo, you may choose which license to receive the code under. Read More Answers. Question # 3 Who developed qooxdoo? Answer:- qooxdoo was initiated and is maintained by 1&1, the world's biggest web hosting company. There is a team of full-time core developers as well as many committers and contributors. Read More Answers. Question # 4 Which browsers are supported? Answer:- A qooxdoo application runs in all major web browsers - with identical look & feel. Read More Answers. Question # 5 Does qooxdoo come with a server? Answer:- No. If you already have an existing backend that serves HTTP (or HTTPS) requests, it's probably fine to continue using it. Optionally qooxdoo offers several RPC servers for an elegant client-server communication. BTW, during development of your client application the local file system often is sufficient, without the need to use a real server. Read More Answers. Question # 6 What languages and technologies do we need to know? Answer:- Not many.
    [Show full text]
  • Preview Extjs Tutorial (PDF Version)
    About the Tutorial ExtJS stands for Extended JavaScript. It is a JavaScript framework and a product of Sencha, based on YUI (Yahoo User Interface). It is basically a desktop application development platform with modern UI. This tutorial gives a complete understanding of Ext JS. This reference will take you through simple and practical approaches while learning Ext JS. Audience This tutorial has been prepared for beginners to help them understand the concepts of ExtJS to build dynamic web UI. Prerequisites For this tutorial, the reader should have prior knowledge of HTML, CSS, and JavaScript coding. It would be helpful if the reader knows the concepts of object-oriented programming and has a general idea on creating web applications. Execute ExtJS Online For most of the examples given in this tutorial you will find a Try it option. Make use of this option to execute your ExtJS programs on the spot and enjoy your learning. Try the following example using the Try it option available at the top right corner of the following sample code box − <!DOCTYPE html> <html> <head> <link href="https://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/classic/theme- classic/resources/theme-classic-all.css" rel="stylesheet" /> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/ext-all.js"></script> <script type="text/javascript"> Ext.onReady(function() { Ext.create('Ext.Panel', { renderTo: 'helloWorldPanel', height: 100, i width: 200, title: 'Hello world', html: 'First Ext JS Hello World Program' }); }); </script> </head> <body> <div id="helloWorldPanel"></div> </body> </html> Copyright & Disclaimer Copyright 2017 by Tutorials Point (I) Pvt.
    [Show full text]
  • Ext JS 4 Next Steps
    Ext JS 4 Next Steps The Ext JS 4 library is one of the most powerful libraries for building Rich Internet Applications. Through this book we have learned how the library works and what capabilities it has. Now that we have a full working application and have learned how to use the library, we must know that there are a lot of other things around this awesome library. In this chapter we will see what other concepts may help us to improve our development process when using Ext JS 4. In this chapter we will cover the following topics: • The Ext JS 4 API documentation • Using JSDuck • Want to go mobile? • The Sencha forums The Ext JS 4 API documentation Ext JS 4 has some of the best documentation; it is easy to use and very powerful. The Sencha team has always put so much effort when delivering their frameworks' documentation, but the Ext JS 4 and Sencha Touch 2 APIs are a state of art in documentation. Ext JS 4 Next Steps When we are new to Ext JS 4, one of the most important things we have to know is how the API works. We don't need to memorize each class and class methods, we just need to know where to find them. The following screenshot shows the Sencha Docs structure: In the Sencha Docs we have five main regions. On the left-hand side we have the package tree list with all the packages and classes Ext JS 4 has in its library. In the top right-hand corner we have the search component where we can search almost anything like classes, methods, guides, xtypes, and more.
    [Show full text]
  • Developing with Ext GWT Enterprise RIA Development
    apress.com Computer Science : Web Development Slender, Grant Developing with Ext GWT Enterprise RIA Development From the makers of the highly successful ExtJS Javascript framework, ExtGWT the fastest moving GWT tool ExtGWT is a simple tool allowing you to quickly create enterprise UIs This book shows you how to create widgets for use in an enterprise environment Developing in Ext GWT is a fast–paced, practical guide to quickly learning the tasks necessary in building enterprise–class rich Internet applications (RIAs). Based around the exciting new user interface library from Ajax leaders Ext JS and the latest Google Web Toolkit release, Apress this book takes the reader through setup, the available widgets, and advanced custom widgets 1st ed., IV, 150 p. 1st and templates, and concludes with a functional sample client–server application in less than edition 150 pages. Not your typical beginner's guide to programming, this book provides a rapid approach to becoming effective with leading commercial RIA tools and libraries. A practical approach to enterprise RIA development using industry–proven tools. Full coverage of the new Printed book Ext GWT 2.0 widget library based on GWT 1.6 Designed for professional developers needing a quick, no–nonsense overview of the initial requirements to get started, ending with an example Softcover client–server application Printed book Softcover Order online at springer.com/booksellers ISBN 978-1-4302-1940-8 Springer Nature Customer Service Center GmbH £ 23,99 | CHF 34,03 | 25,49 € | Customer Service 28,04 € (A) | 27,27 € (D) Tiergartenstrasse 15-17 Available 69121 Heidelberg Germany Discount group T: +49 (0)6221 345-4301 Standard (0) [email protected] Product category Professional book Prices and other details are subject to change without notice.
    [Show full text]
  • Comparing Javascript Libraries
    www.XenCraft.com Comparing JavaScript Libraries Craig Cummings, Tex Texin October 27, 2015 Abstract Which JavaScript library is best for international deployment? This session presents the results of several years of investigation of features of JavaScript libraries and their suitability for international markets. We will show how the libraries were evaluated and compare the results for ECMA, Dojo, jQuery Globalize, Closure, iLib, ibm-js and intl.js. The results may surprise you and will be useful to anyone designing new international or multilingual JavaScript applications or supporting existing ones. 2 Agenda • Background • Evaluation Criteria • Libraries • Results • Q&A 3 Origins • Project to extend globalization - Complex e-Commerce Software - Multiple subsystems - Different development teams - Different libraries already in use • Should we standardize? Which one? - Reduce maintenance - Increase competence 4 Evaluation Criteria • Support for target and future markets • Number of internationalization features • Quality of internationalization features • Maintained? • Widely used? • Ease of migration from existing libraries • Browser compatibility 5 Internationalization Feature Requirements • Encoding Support • Text Support -Unicode -Case, Accent Mapping -Supplementary Chars -Boundary detection -Bidi algorithm, shaping -Character Properties -Transliteration -Charset detection • Message Formatting -Conversion -IDN/IRI -Resource/properties files -Normalization -Collation -Plurals, Gender, et al 6 Internationalization Feature Requirements
    [Show full text]
  • Making Sense of Application Architecture Choices
    Making Sense of Application Architecture Choices Summer 2014 Art Kay, Developer Relations Manager Sencha, Inc Abstract Just like functions and objects help developer efficiency by allowing code reuse and modularity at a micro level, application architectures help team efficiency at the macro level by organizing, abstracting and restricting how large pieces of code interact. This paper summarizes the currently popular JavaScript application architectures and takes a deep dive into the latest application architecture that Sencha supports – Model-View-ViewModel (MVVM). Introduction The Sencha Ext JS framework has become an industry standard for developing enterprise web applications thanks to its comprehensive widget library, powerful data package and robust tooling. Ext JS has proven to be a highly scalable and easily customizable framework, with over 60% of Fortune 100 companies and more than 2 million developers worldwide using it. Since the original Ext JS 1.0 release in 2007, a lot has changed in our industry – and web applications are certainly larger and more complex than ever. In 2010, Sencha released Touch 1.0, delivering the industry’s first JavaScript framework to support a Model-View-Controller pattern (MVC), addressing the architectural problems often faced by large enterprise web applications. We then applied that feature to Ext JS 4.0 in 2011, helping to organize application code in the new world of enterprise web apps. Sencha has recently released Ext JS 5.0 with optional support for the MVVM architectural pattern. Ext JS 5 includes features such as two-way data binding and declarative configuration. We know that enterprise web applications can be extremely diverse, and that it’s absolutely critical to choose the correct architecture at the beginning of a project to ensure its success.
    [Show full text]