CodeCanyon ExtJS Easy PHP Wrapper 4265716

ExtJS Easy PHP Wrapper

CodeCanyon ExtJS Easy PHP Wrapper 4265716
Script \ PHP Script \ Miscellaneous
JavaScript \ Simple \ Control \ Values \ Really \ Pretty \ Messes \ Unmaintainable

PHP Script - ExtJS Easy PHP Wrapper 4265716 by WapaThemes @ CodeCanyon

Script \ PHP Script \ Miscellaneous

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.


Last Update: 15 March 13; High Resolution: No; Compatible Browsers: IE6, IE7, IE8, IE9, IE10, Firefox, Safari, Opera, Chrome; Files Included: JavaScript JS, HTML, CSS, PHP; Software Version: PHP 5.x, PHP 5.0 - 5.2, PHP 5.3.

Veriteco Timeline For Wordpress; jQuery Weather Forecasts.

Keywords: extjs, extjs api, extjs easy, extjs php api, extjs php wrapper.


Add Comments:
Enter Code: *