Giter Site home page Giter Site logo

extjs-mvc-example's Introduction

Ext JS MVC Example

A simple Ext JS 4.2.1 MVC application example. Adapted from one of Sencha's older, non-MVC examples which shows a simple CRUD interface for employee management. BYOEXTJS. Not tested on versions lower than 4.2.1. Below are some notes on Ext JS for those new to the technology.

What is Ext JS?

  • Commercial JavaScript-based app framework for rich internet applications
  • For more on the history, see Wikipedia
  • Originally built as an add-on library extension of YUI by Jack Slocum
  • Now owned and developed by Sencha Inc., along with other products like Sencha Touch (for mobile)
  • Most famous for the grid UI widget
  • As of version 4.0, Ext JS moved to a strict MVC structure for apps (by foldering/naming convention)

What's Included?

  • Class system
  • MVC framework
  • UI Widgets
  • Build tools (Sencha Cmd / Sencha Architect / Eclipse Plugin)
  • Good documentation
  • Sencha Touch

Pros/Cons

  • Pros
    • Comprehensive front-end development solution
    • Class system, MVC framework, UI widgets, charts and graphs, cross browser support, build tools (Sencha Cmd / Sencha Architect / Eclipse Plugin)
    • Virtualized grids - only virtualized on the rows though
  • Cons
    • High learning curve - with commercial vendor lock in!
    • Best if you (or your team) are quite comfortable with JavaScript first
    • Theming is a labor intensive process - themes were not easily portable until recently (4.2)
    • Comprehensive front-end development solution
    • Once you're in, you're all in
    • Difficult to integrate into existing applications - documentation centers on new implementations
      • Running "sencha generate app" from the command line
      • Tries to be a "single page app"; though the newer "workspace" concept seems to acknowledge multi-page sites
    • Bloat - "ext-all.js" is around 2 MB (!) minified
    • Requires discipline to configure builds properly to construct a minimal, single source file for an application
    • Performance - While improving, still renders a LOT of DOM elements for simple widgets

extjs-mvc-example's People

Contributors

lotz avatar

Watchers

arissan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.