sergeil/extjsintegration-bundle

Utilities for easier integration of ExtJs on server-side.

Maintainers

Package info

github.com/sergeil/SliExtJsIntegrationBundle

Homepage

Type:symfony-bundle

pkg:composer/sergeil/extjsintegration-bundle

Statistics

Installs: 38 117

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 1

v3.0.0 2022-01-31 18:52 UTC

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

  1. Add the bundle to your composer.json:

    {
        "require": {
            "sergeil/extjsintegration-bundle": "~1.0"
        }
    }
    
  2. Add bundles to your /app/AppKernel:

    new Sli\ExtJsIntegrationBundle\SliExtJsIntegrationBundle(),
    new Sli\AuxBundle\SliAuxBundle()