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

Micheal Kimsal's Blog: Symfony __toString() generation

Community News: 6th Generation of ElePHPants is Born!

Katy's Homepage: Automatic WSDL Generation in PHP 5

AnyExample.com: PHP password generation

Tony Bibbs' Blog: PHP5 SOAP Still Has Ways to Go


Community Events





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


podcast library language application interview laravel series list project code configure bugfix threedevsandamaybe framework api community developer release wordpress introduction

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