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

AnyExample.com: PHP password generation

Anthony Ferrara: Preventing CSRF Attacks

PHPMaster.com: Simplifying Test Data Generation with Faker

Timoh's Blog: Secure random numbers for PHP developers

Kevin Schroeder: Generating secure cross site request forgery tokens (csrf)


Community Events





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


threedevsandamaybe opinion language symfony2 list introduction laravel release interview testing podcast series code unittest framework refactor install configure developer community

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