-
18 Mar 2010 12:50 PM #1
PHP developers, which framework do you find works best with ExtJS?
PHP developers, which framework do you find works best with ExtJS?
When I say framework, I mean an actual class based, framework. I have been using Symfony but I am curious to if Code Igniter works well with it.
Which do you use?
-
18 Mar 2010 1:10 PM #2
-
18 Mar 2010 3:22 PM #3
TYPO3

just to show if i use a BE module:
one class for ExtDirect and the rest in ExtJS - go!PHP Code:/**
* Render module content
*
* @return string $content
*/
public function render() {
$this->pageRenderer->addCssFile($this->resPath . 'css/t3_em.css');
$this->pageRenderer->addCssInlineBlock('ExtJsCorrections','
.x-btn button { color: #333 !important;}
');
$this->pageRenderer->loadExtJS();
$this->pageRenderer->enableExtJsDebug();
// Load JavaScript:
$this->pageRenderer->addJsFile($this->parentObject->doc->backPath .
htmlspecialchars('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.EM'));
$this->pageRenderer->addExtOnReadyCode(
'for (var api in Ext.app.ExtDirectAPI) {
Ext.Direct.addProvider(Ext.app.ExtDirectAPI[api]);
}',
TRUE
);
$labels = em_staticFunctions::getArrayFromLocallang(PATH_site . 'typo3/mod/tools/em/language/locallang.xml');
$this->pageRenderer->addInlineLanguageLabelArray($labels);
$this->pageRenderer->addJsFile($this->resPath . 'js/t3_em.all.js.min.js');
$content .= '<div id="em-message-area"></div><div id="em-app"></div>';
return $content;
}
vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
-
18 Mar 2010 5:49 PM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
I'm with you on this one. I used it for the last two chapters of My book, Ext JS in Action.
You can download the code via http://app.extjsinaction.com/app.zip and actually view the app live via http://app.extjsinaction.com/ (any user / any pass).
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
18 Mar 2010 11:43 PM #5
-
19 Mar 2010 12:28 AM #6
CakePHP, their framework organization and structure is pretty good. and you can use the same base library code to create multiple web applications and share common php, css and js files across all the applications.
This way if I update the framework, or latest ExtJS version, or any of my shared resources. All applications get updated automatically.
The other frameworks I've come across only allow one application per framework installation and hacks are needed to share them across many.
CakePHP's architecture even enables you to use the components from Zend Framework transparently.
The only other PHP stack which comes close is probably Symfony. But I've not looked into it in detail beyond the basics.
-
19 Mar 2010 2:08 AM #7
-
19 Mar 2010 2:24 AM #8
May be we should try the Chuck Norris Framework

http://www.codesqueeze.com/the-ultim...grammer-jokes/vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
-
19 Mar 2010 3:03 AM #9
Zend Framework. Since in the apps I'm building the only server-side code is a single index.php and a bunch of web services, the whole MVC paradigm was meaningless on the server. Zend Framework provides good solutions for translation, localization, database access, and web services, and that's all I need.
-
19 Mar 2010 5:35 AM #10
Take a look at FLOW3, the new application framework for the new upcoming Typo3v5. Because Typo3v5 will use ExtJS in their backend, they will integrate an ExtJS package (There are already some classes for the ExtJS Package) with support for Ext.Direct and many ViewHelpers and other nice things are upcoming.


Reply With Quote

