News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
O'Reilly:
PHP Code Generation with Elisp
November 24, 2005 @ 05:43:34

On the O'Reilly OnLamp.com site today, there's a new article today dealing with teh creation and execution of PHP code through Elisp (Emacs Lisp).

As I do my programming in GNU Emacs, it seems sensible to write it in Emacs Lisp so that I can run it directly in my Emacs buffer without having to call an external program.

Emacs Lisp is an excellent language for this type of application, as it combines the power of Lisp with integration into Emacs, one of the most powerful text editors around.

This Lisp code is pretty simple. Grab the SQL text, parse out the PHP variables from a SQL statement using a regular expression, and then use that information to write the full PHP function to insert into the original Emacs buffer.

He starts off with an introduction to what Elisp is, how it works, and how to get it all set up to work with PHP...

0 comments voice your opinion now!
php code generation elisp php code generation elisp



Similar Posts

Chris Shiflett\'s Blog: Storing Sessions in a Database

Wez Furlong\'s Blog: Calling SQLBindParameter and avoiding a datetime overflow.

Helgi\'s Blog: Clash of the Titans

Sebastian Bergmann\'s Blog: PHP Vikinger (More Details)

Christian Stocker\'s Blog: \"Wordpress hat den Blog-Hosting Markt versaut\"


Community Events









Don't see your event here?
Let us know!


releases zendframework database PEAR zend job book release cakephp developer conference ajax code framework example security application package PHP5 mysql

All content copyright, 2009 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework