2017 © Pedro Peláez
 

library php-extjs-loader

Sencha - ExtJS 4.0.x - 6.2.x Architect project loader

image

sphinxila/php-extjs-loader

Sencha - ExtJS 4.0.x - 6.2.x Architect project loader

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

Sencha Architect ExtJS Project Loader

This library allows you to load architect projects directly into your application without loading the js files separately., (*1)

The supplied internal project parser is resolving all conflicts and provides the sorted code., (*2)

Add MVC Support for your ExtJS project

You can build a modular project by loading projects into containers without modifying any of your projects files., (*3)

Extending the internal parser

You can easily extend the internal project parser, (*4)

\ExtJSLoader\ProjectParser::registerParser((
    new Parser()
));

Dump the project files for remote deployment without any *.xds files or metadata

If you provide the application to external customers and you don't want to deploy your project files, you can load project from a 'compiled' (dump) file., (*5)

$loader = new \ExtJSLoader\Project(
    "TestArchitectProject",                     //  Application name
    __DIR__ . "/../test/TestArchitectProject",  //  Root directory
    __DIR__ . "/TestCompiledProject.xvt",       //  Compiled path!
    "test-destination"                          //  Target div (render destination)
);

// Use compiled project if exists
$loader->load(true, true);

// Get code
echo $loader->getCode();

Examples

Easy implementation - Load architect project - Load compiled architect project - Extend loader with a custom parser - Minify / Compress JS output, (*6)

Installation

To use this library you need to add the following in your composer.json, (*7)

sphinxila/php-extjs-loader

or run the following command in your project root, (*8)

composer require sphinxila/php-extjs-loader

License / Copying

This project is released under the GPL v3 license, so feel free to share or modify it., (*9)

Bug report

To get a faster bug resolvement please provide an example code., (*10)

The Versions

02/05 2017

dev-master

9999999-dev

Sencha - ExtJS 4.0.x - 6.2.x Architect project loader

  Sources   Download

GPL v3

The Requires

 

extjs sencha architect extjs architect mvc-support extjs mvc