News Feed
Jobs Feed
Sections




News Archive
feed this:

PHPMaster.com:
Building ePub with PHP and Markdown
March 04, 2013 @ 10:52:45

On PHPMaster.com today there's a new post showing you how to create ePub documents from Markdown-formatted files with the help of the md2epub and RainTPL libraries.

The ePub format is a publishing standard built on top of XHTML, CSS, XML and more. And since PHP is well suited for working with HTML and friends, why not use it to build ebooks? In this article we'll see what goes into building a tool for creating ePub packages starting from a set of content files. Maybe it's your next best selling cyber-sci-fi novel or documentation for your latest code project… because we all write good documentation for our projects, don't we?

He starts off with an introduction to the ePub format, showing the directory structure the package has to follow and some example contents. He helps you set up a test book with two chapters, cover images, styling and a cover/title page. Included in the tutorial is all of the code you'll need to make your own "ePub builder" tool and a suggestion of a tool to check the end result.

0 comments voice your opinion now!
tutorial epub markdown mb2epub introduction


CodeIgniter.com:
A Quick Look at Sparks
March 14, 2012 @ 09:49:36

On CodeIgniter.com there's a new post looking at Sparks, reusable code components/packages for the CodeIgniter framework.

On the back of a CIConf in London last month, I would like to delve a little into a common theme amongst CodeIgniter developers. Speeding up development through simple automation. To do that we're going to take a look at the CodeIgniter Sparks project and how it can drastically speed up your development. To demonstrate, I will walk through building a little portfolio that leeches off the GitHub API.

They show you how to install it from the Getsparks website, finding Sparks to add to your application, the code to load in the component and configuring it on load. They include an example of loading in a REST client Spark and how to use it to make a request to Github and pull down a Markdown file.

0 comments voice your opinion now!
sparks package install tutorial rest markdown


Anna Filina's Blog:
Integrating Markdown with Symfony
April 26, 2011 @ 10:56:46

Anna Filina has a new post showing how you can integrate a documentation format that's become a bit more popular recently (due partially to its increased use on github), Markdown, into a Symfony application.

I needed to create a number of static help pages in three languages in a Symfony 1.4 application. Using the XLIFF translation files seemed absurd, since I knew that I will include a lot of HTML. [...] And so, I decided to create partials using the following structure: _docs/{lang}/{title}.php. This method would organize my pages nicely and will only load what is needed. Then, I remembered that we were planning to hire a technical writer for the rest of the manual. I wanted to make his life as easy as possible and the source files easy to read for everyone.

She found the solution in Markdown and has included a step-by-step guide to getting it integrated with Symfony using this parser. It's loaded as a helper and used to parse the partial view's content. You can find a quick guide to Markdown on the Daring Fireball website.

0 comments voice your opinion now!
markdown symfony framework helper view


Paul Jones' Blog:
Solar 0.23.0 Released
August 28, 2006 @ 07:48:50

Paul Jones notes the release of the latest version of the Solar framework with version 0.23.0 and some cool new features, specifically an enhancement for its Ajax support.

The new release is out; you can download it from the usual location. As always, you should read the full change notes.

This release of Solar includes new Prototype and Scriptaculous ("Protaculous" ;-) Ajax support in the form of view helpers, ext/json compliant JSON support, and a new plugin-aware Markdown engine.

He details out the changes, talking about a few things that are broken (backwards compatibility), the "Protaculous" support, JSON support, and the implementation of Markdown support.

0 comments voice your opinion now!
solar framework release prototype scriptaculous ajax json markdown solar framework release prototype scriptaculous ajax json markdown


Thingoid.com:
Markdown and PHP Markdown Extra Cheat Sheet
January 13, 2006 @ 07:30:50

From Trevor's blog, thingoid, today, there's Here's my Markdown. It's great to be able to write in (nearly) plain English - say, for submitting something for print - and being able to dump the same text down into the blog and have it work on the web. Setting aside writing-for-web vs. writing-for-print issues, I find this a great help.

And PHP Markdown Extra adds a few niceties, like Markdown inside HTML block tags, simple tables, and definition lists. It just drops straight into WordPress and away you go.

For more information on Markdow (or it's use in PHP), you can check out the Markdown manual first and the PHP one to follow up...

0 comments voice your opinion now!
markdown cheat sheet PDF markdown cheat sheet PDF



Community Events











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


opinion interview framework testing podcast introduction code development composer community tool zendframework2 conference object database language release example functional series

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