这是(shì)php-json-ext-1.2.1.tar.bz2下载,文件管理系统,用户在线(xiàn)管理(lǐ)数自己的远程文(wén)件-extjs+ php file system manage.
php-json-ext-1.2.1.tar.bz2是现在从事PHP网站开(kāi)发的人(rén)员并不(bú)在少数(shù),使用ExtJs的人更加不在少数,但很多PHP程序员(yuán)并不熟悉Javascript,但又非常喜欢使用ExtJs.以前(qián)他们(men)只能(néng)看着JAVA或者(zhě).NET的开发者可以使用服(fú)务器端的语言来写ExtJs,现(xiàn)在PHP中(zhōng)也有了类似(sì)的框(kuàng)PHP-EXT .
cd php-json-ext-1.2.0
4.编译前要初(chū)始化(huà)PHP环境:
phpize如果提示找不(bú)到该命令,就 apt-get install php5-dev 安(ān)装它。
5.编译和(hé)安装 Json
sudo ./configure
sudo make
sudo make install
安装(zhuāng)完毕出现如下信息(xī):
Installing shared extensions: /usr/lib/php5/20060613+lfs/
6.修改(gǎi)php.ini
在php.ini 中加入(rù) extension=php_json.so:
sudo vi /etc/php5/apache2/php.ini
7. 重启(qǐ)阿帕奇
sudo /etc/init.d/apache2 restart
8.查看(kàn)PHP环境信息(xī)
<?php echo phpinfo(); ?>
我们看(kàn)到 如下信息说明安装成功
json support
The PHP-Ext Open Source Project
PHP-Ext is an open source widget library written for PHP 4 and 5 to empower the UI Layer.
It is based on Ext JS javascript widgets which provide a standard and powerful API to build Rich Internet Applications. It basically works as a convenient wrapper for the Ext JS Javascript Objects.
Among other features, PHP-Ext provides useful and common controls to create forms, rich comboboxes, powerful grids and menus. It also promotes the use of JSON and XML client/server communication to populate forms and grids using Ajax. Additionally it has a Javascript helper to ease the javascript code generation and use.
This project still in beta so keep comming for the final release. Take a look at the samples.
Feel free to download the src and samples to try it out and don't forget to write back your comments and suggestions.
