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

Laknath Semage's Blog: PHP + Large files

Symfony Project: Book preview: read the Unit Tests chapter

Martynas Jusevicius' Blog: Reading Excel files with PHP

Dotvoid.com: Generating Excel files with PHP

JSLabs Blog: Top 10 PHP frameworks (for 11.28.2006)


Community Events





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


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

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