sergeil / extjsintegration-bundle
Utilities for easier integration of ExtJs on server-side.
Installs: 38 007
Dependents: 4
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 4
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=7.1
- sergeil/aux-bundle: ^1.1
- sergeil/expander-bundle: ^1.2
Requires (Dev)
- doctrine/doctrine-bundle: ^2.0
- phpunit/phpunit: ^5.7
- symfony/symfony: ^4.4
Conflicts
- doctrine/persistence: <1.3
README
The bundle will contain some utility classes that prove useful when you use ExtJs library on the client-side.
What's inside
For now, there's not much yet:
- QueryBuilder\ExtjsQueryBuilder -- Builds proper Doctrine queries for your
Ext.data.Store
on client-side. Makes it possible to easily leverage 'remoteFilter', 'remoteSort' as well as pagination. Also, the class is smart enough to build proper queries when you need to sort(ORDER BY) by an associated entity - DataMapping\EntityDataMapperService -- Maps data coming from client-side onto your entities
Please read inline phpDoc for more information how to use classes
Installation
-
Add the bundle to your composer.json:
{ "require": { "sergeil/extjsintegration-bundle": "~1.0" } }
-
Add bundles to your
/app/AppKernel
:new Sli\ExtJsIntegrationBundle\SliExtJsIntegrationBundle(), new Sli\AuxBundle\SliAuxBundle()