[TYPO3-dev] extJS library
Martin Kutschker
masi-no at spam-typo3.org
Wed Feb 4 20:47:00 CET 2009
Steffen Kamper schrieb:
> Hi,
>
> Dan Osipov schrieb:
>> Can there be a "connector" library that would sit in between TYPO3
>> core PHP and extJS? That way it could handle all the inconsistencies?
>>
>
> something like that yes. What i had in mind (brainstorm mode):
>
> * a global Data-store that delivers result in json format, easy to
> configure, working with DB-class
You mean something like a JSON-view for TCA-based tables? This could
also be used for other AJAX-frameworks. Though care must be taken
because extJS uses special GET variables for remote sorting and paging,
which are probably incompatible with other frameworks. But maybe we can
make a base class with a derived extJS class.
> * a wrapper class that create an extJS JS file having a class wrapped
> with Ext.onReady(function(){ ... });
I don't get what do you mean.
> * a set of validation rules
Should these replace the home-grown JS validations that TCEforms now
uses? I had the idea to check all TCA validations and make sure that all
checks that can be done client side are done there. Additionally all
checks that may be done with AJAX are done before saviing the record.
> * an easy object for creating nested layouts
In PHP or in JS?
> * a bridge between LANG and JS for use localized labels
Sounds good. But I have to dig into extJS localization yet.
Masi
More information about the TYPO3-dev
mailing list