News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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!
generation elisp generation elisp


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: Practical uses for reflection

PHPMaster.com: Simplifying Test Data Generation with Faker

DevShed: Adding Validation to an Image Generator Class with PHP 5

Ben Ramsey\'s Blog: Generating OPML From del.icio.us (And Getting All Your Links)

Dikini.net: Rewriting macros - the peculiar case of php


Community Events





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


series release list conference community voicesoftheelephpant symfony zendserver framework language api code interview laravel introduction deployment tips bugfix development podcast

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