WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

ExtJS Easy PHP Wrapper

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


ExtJS Easy PHP Wrapper - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

ExtJS 4 EasyWrapper for PHP

ExtJS is a really cool JavaScript library for generating web GUIs. Everything works really nicely when all you want are simple forms, but it generally doesn’t take long before you want to control the rendered JavaScript based on some server-based logic (i.e., only show these fields to “admins”, or load values from a SQL database based on the selected ID and show them in the form). Pretty soon, you are wrapping the JavaScript in PHP control structures and embedded little snippets of PHP to set values. Then, what do you know, your code looks like unmaintainable rubbish. Not to mention that if you are an Emacs user (like me), it messes up all the nice syntax highlighting and auto-indenting. Hence, I decided to invest an hour or two in creating a PHP-wrapper that would allow me to write PHP but render ExtJS JavaScript. It turns out it is pretty simple, as my code will show.

Demo: http://extjs.my.phpcloud.com/documentation/#!/live

Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
15 March 13

Last Update:
15 March 13

Compatible Browsers:
IE6, IE7, IE8, IE9, IE10, Firefox, Safari, Opera, Chrome

Software Version:
PHP 5.x, PHP 5.0 - 5.2, PHP 5.3

High Resolution:
No

Files Included:
JavaScript JS, HTML, CSS, PHP

Keywords

eCommerce, All Items, extjs, extjs api, extjs easy, extjs php api, extjs php wrapper