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

Symfony Project: Book preview: read the Unit Tests chapter

Symfony Blog: Plugin Developers Day

DevShed: File Security and Resources with PHP

MelonFire Community: Caching Web Sites With PEAR Cache

David Coallier's Blog: SVN log-per-user parser using SimpleXML


Community Events

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


release voicesoftheelephpant interview configure community podcast api introduction symfony2 framework application series php7 part2 performance opinion conference laravel example library

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