home 首页 » 精彩博客 » 博客查看

Webitech.net: Create an Impressive Content Editing System with jQuery and PHP

 2010-03-11 01:40:02 

On Webitech.net there's a new tutorial showing how to combine PHP and jQuery to create a simple content editing system when you don't need a full-blown CMS to manage the pages of your site.

I'm going to show you how to use jQuery and PHP to build a content editing system that will allow you or your client to easily edit .html pages visually. [...] Our file structure is going to be really simple - just admin.php, the wymeditor package and jquery together in the demo directory.

The tool uses PHP's file_get_contents to pull in the source of the page into a textarea and edit it with jQuery and the WYM Editor. Full code is included for your cut and paste pleasure but if you need a quicker fix, you can download the source. There's also a demo to see it in action.

收藏:

评论:共 
3
 条