Giter Site home page Giter Site logo

zqb971 / extjs-in-action-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moduscreateorg/extjs-in-action-examples

0.0 1.0 0.0 84.21 MB

Ext JS in Action SE Examples

License: GNU General Public License v3.0

JavaScript 72.90% HTML 1.20% PHP 0.13% Ruby 0.01% CSS 25.75% Python 0.01%

extjs-in-action-examples's Introduction

extjs-in-action-examples

Ext JS in Action SE Examples from http://manning.com/garcia3/

Installation instructions

  1. Clone the repo
git clone https://github.com/ModusCreateOrg/extjs-in-action-examples.git ./your_path_of_choice
  1. Create a virtual site (optional, but advised) based on what ever web server you use. An example apache vhost (assumes http://ext4ia):
<VirtualHost  *:80>
    ServerAdmin liquid@localhost
    DocumentRoot /www/ext4ia
    ServerName ext4ia
    ServerAlias ext4ia
    ErrorLog /tmp/ext4ia.httpd.errlog
    <Directory /www/ext4ia>
      AllowOverride All
      Options ExecCGI FollowSymLinks
      Order allow,deny
      Allow from all
    </Directory>
</VirtualHost>
  1. Visit your virtual host via http://myvirtualhost/examples/ch01 (or http://extjsinaction.com/v4/examples/);

Chapter 14 instructions

  1. Make sure you have Sencha Cmd 4+ installed (works with Cmd 5 as well)
  2. Open terminal
  3. Navigate to Ch 14 /path/to/ch14
  4. Execute sencha app build. This command will build CSS files and work out the dependencies.
  5. Point your browser to ch14

Running examples without a web server

We need a web server set up for two reasons. Some examples need external services/data, so we provide with php scripts for your convenience. Those require a PHP-enabeled server.

Also, XHR (AJAX) is required for Ext.Loader to fetch dependencies. Due to security considerations, XHR only works in HTTP(s), thus requiring a web server.

Examples that do not require external data (PHP) can also be executed in Google Chrome with security turned off. This post outlines how to run it on Mac OS, Linux, and Windows.

Once you have Chrome running in this mode, just open html files as you would normally do from your Finder, Windows Explorer, Terminal, or elsewhere.

extjs-in-action-examples's People

Contributors

jacobandresen avatar obscurerichard avatar grgur avatar johnkary avatar

Watchers

James Cloos 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.