News Feed
Sections




News Archive
feed this:

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

NetTuts.com:
Statamic 101
December 11, 2013 @ 10:40:41

NetTuts.com has a new tutorial posted today introducing you to Statamic, a PHP-based content management system that uses flat-files instead of database entries to manage its content. (One note, Statamic is not free software and there's no "trial" version)

Statamic is a modern PHP CMS which really makes an effort to be easy and intuitive to use. From its flat-file design to its use of technologies, like markdown and Yaml, you can accomplish an outstanding amount of work without writing any code at all. In this article we will take a look at the process from installation to setting up a basic portfolio.

The CMS (downloadable here) has a simpler structure than some other systems as most of the content is just files in the "_content" directory. They talk some about the directory structure of the tool and help you get things configured via the main YAML config. The post then moves on to working with themes and how to get dynamic content in a basic layout. From there they go on to talk about making new content, adding entries and various other topics like administration and templating.

0 comments voice your opinion now!
statamic cms introduction file markdown template layout content

Link: http://net.tutsplus.com/tutorials/php/statamic-101

SitePoint PHP Blog:
Using PHP Streams Effectively
November 21, 2013 @ 11:54:02

Vito Tardia has a new tutorial posted to the SitePoint PHP blog today showing you how to use PHP streams effectively, a continuation of his streams series started here.

n my previous article we've discovered the basics of PHP Streams and how powerful they were. In this tutorial we are going to use this power in the real world. First I'll show you how to build your custom filters and attach them to a stream, then we'll package our filters inside a document parser application.

He starts out by introducing the concept of filters in streams - bits of code that can be attached to the stream to perform operations on the data traveling through it. He includes a simple base64 encoding example with a fopen call to illustrate. He gets into more complex filtering by creating a Markdown filter capable of translating the incoming Markdown-formatted data into a document using the MarkdownExtra library. He also includes an example of another filter added on post-Markdown conversion, a Template filter using the RainTPL templating library.

0 comments voice your opinion now!
using streams filter markdown template tutorial

Link: http://www.sitepoint.com/using-php-streams-effectively/

Hannes Magnusson:
New PHP.net designs floating around
September 06, 2013 @ 11:50:37

In a new post to his site Hannes Magnusson talks some about the current PHP documentation (and PHP.net site) formatting and how, while changes to it are quick, they should be instant. He suggests a path to get there and a new tool that could help.

Since 2008 there have been numerous efforts to create a new design for www.php.net, all of which have failed - so far. We've never come as close as two years ago, when the "beta mode" option was added to our website, but we never really got around to finish it. The "beta design" has even received a lot of makeover compared to what is "beta mode" now. To make things a little bit more awesome, there is also a new branch called "responsive" which has a lot of changes in it too, especially for manual pages. Hopefully, one day, we'll actually finish one of these and flip the switch forever.

While he's been a fan of the DocBook structure that's currently in use, he points out that learning the markup can be a hinderance to people contributing. His tool, PhD, does some custom parsing too adding additional complexity. To help, he's working on a new tool (WTFM) to use Markdown formatting instead of DocBook, a more common format.

0 comments voice your opinion now!
phpnet website design docbook markdown update

Link: http://bjori.blogspot.com/2013/09/new-phpnet-designs-floating-around.html

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!


security package interview language voicesoftheelephpant framework install version introduction release update podcast community opinion library tool composer series laravel symfony

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