News Feed
Sections




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

Paul Jones:
Leanpub Sample Files With Symfony and Aura
February 27, 2014 @ 09:51:49

In a recent post to his site Paul Jones shares some work that's been done to help generate books in the Leanpub formatting with an Aura framework-based script.

One of the things that bothers me about some cli/console packages is how the commands you write with them end up being tightly coupled to the "framework" the package provides. [...] Most of the time I don't need a "full console application" - I just need to read some input for the command, run my actual command logic, and send some output from the command. The Leanpub Sampler from Matthias Noback is an example of the kind of thing I usually end up doing in small or one-off projects.

The script makes use of the Aura.Cli component for console interaction then a custom object for the actual work. This completely decouples the CLI handling from the code to produce the resulting document. You can find out more about the Aura framework on the project's main site.

0 comments voice your opinion now!
leanpub sample file symfony aura auracli

Link: http://paul-m-jones.com/archives/5921

blog comments powered by Disqus

Similar Posts

Nessa's Blog: Using PHP to Display Version Info (I and II)

Fabian's Blog: Better Performance patch for Symfony 1.0.x and Propel 1.2

Fabien Potencier's Blog: Symfony Service Container

Ben Ramsey's Blog: Zend Framework on Ning

Dave Dash's Blog: Installing a PHP that can do symfony+doctrine on Dreamhost


Community Events





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


interview release package symfony series introduction install community library zendserver framework language podcast laravel update opinion deployment list api tips

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