News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

NETTUTS.com:
The Anatomy of GamePress - Part 1
October 09, 2008 @ 09:35:51

The NETTUTS site has a tutorial posted today that's part one of a series looking at the Gamepress theme for WordPress and how to customize it to your needs.

GamePress is a "Gaming News & Reviews" theme for WordPress and currently one of the most popular themes at ThemeForest. It is the most advanced theme I've created so far, and really pushes what the WordPress engine can do!

This first of two parts introduces you to the template and the various components/content blocks it contains like the Features Slider, Latest Headlines, Older News and the Reviews page. You can check out a live demo of it in action to see what you think.

0 comments voice your opinion now!
gamepress wordpress template gaming review news



SitePoint PHP Blog:
DOM vs. Template
September 25, 2008 @ 11:18:25

In this new post to the SitePoint PHP Blog there's a look at using a small templating engine recently released by Fredrik Holmstrom that takes a different tack on working with template files - it parses them into a DOM structure.

The main difference to traditional template engines (Such as Smarty), is that the template it self doesn't have any imperatives within. In fact, the template doesn't even have to be written to the template engine, to be used - Any markup can be used as a source.

The templating system uses Domlings, bits of HTML to match against and replace with the bound information. A few examples are included - a simple binding, how to switch out a block of HTML, pushing it back in and looping over a block of information to do some search and replace.

0 comments voice your opinion now!
dom template smarty domlings html replace


Alex Netkachov's Blog:
September 23, 2008 @ 07:08:23

In a new post today Alex Netkachov shows a handy little tip for the Eclipse users out there that want to use the @var type hint in their code.

@var variable type hint is very useful, but adding it a little bit complex: usually you need to type the class name or copy/paste it from somewhere. But with Eclipse PDT templates you can simplify this and add an autocomplete for variable name and class name.

It's a simple one-step process - you just add in a new template to your Eclipse application and it will prompt you to select the class name from a list and drop it right in. No more cut and paste needed!

0 comments voice your opinion now!
eclipse tip autocomplete type hint template


NETTUTS.com:
Create a PHP5 Framework - Part 2
September 16, 2008 @ 10:39:53

NETTUTS.com has posted the second part of their tutorial on how to create a simple framework of your own in a PHP5 environment.

With the basic structure for our Framework in place, it is time to start adding functionality to it. In this tutorial we will create a template manager and database handler, bringing us a step closer to a powerful Framework fit for use for almost any project. If you haven't already, be sure to review Part 1 of this series first!

This time they look at a few different parts of the framework, namely the database handler, the template manager and loading data into the framework. The end it with an example of the simple framework in action - pulling a list of members from a database and displaying them to the page.

0 comments voice your opinion now!
mvc framework tutorial database template example


Total PHP:
Browser based template editor
September 04, 2008 @ 14:34:36

On the Total PHP blog today, there's a new tutorial showing how to make a very basic template editing form to update the templates for your site.

A common feature to CMS scripts is a browser based means of editing your templates. This can be helpful if you manage your site remotely or on the move quite often. In this tutorial we walk through how to create a simple template editor in PHP.

The process is pretty simple - a form that allows you to either create or edit a current template file and some PHP that handles the submit. It takes in the data from the textarea and pushed it out to the correctly named file. It's a pretty simple setup and it requires that the web server user can write to the files, but it can be a big help when you can't get into the machine otherwise.

0 comments voice your opinion now!
tutorial template editor form browser


ProDevTips.com:
Pagination with PHP Doctrine
September 04, 2008 @ 09:30:06

The ProDevTips blog continues their series on using Doctrine in a sample application in this new part, a look at paginating the results from your database query.

Things are starting to become more and more feature complete. Let's look at how to implement general search and pagination.

They define the search to perform ($searchConf) and the pagination parameters ($pageConf) and apply them to their current Doctrine setup applying a simple layout to make the numbered links for switching between pages. They also define the search() method that pulls the results from the table to push into the pagination component.

0 comments voice your opinion now!
pagination doctrine configure search template tutorial


Chad Kieffer's Blog:
Speed up PHP development in Eclipse PDT with Templates and Snippets
September 03, 2008 @ 11:17:54

Recently Chad Kieffer made a post to his blog about a handy little feature of the Eclipse IDE that can help you speed up your development - snippets and templatings.

You already know that Eclipse PDT provides autocompletion and hints for PHP's built in functions. In addition, commenting your code with PHPDoc adds autocompletion and hinting for your application's classes, methods, and variables. If you haven't already discovered, Eclipse PDT also provides autocompletion of PHP's control structures, class definitions, and methods through code templates.

He gives examples of both the templating and the snippets - inserting a switch() statement template and how to create a custom snippet of whatever code you choose.

3 comments voice your opinion now!
development eclipse pdt speed template snippet


PHPClasses.org:
Site design theme editor
September 03, 2008 @ 10:28:24

A while back the PHPClasses.org website announced that it would be changing its look a bit and allowing visitors to set up and configure their own look and feel as they chose. The editor to make these changes has finally been released and is ready for use.

The site is launching an editor that allows designs to propose new site design themes. This is the initial beta version of the site design editor, but it already allows any designer to try different presentation designs.

You can access the editor from here and it'll require a login to get in (to create your own custom layout). The system uses simple tag-based templating to wrap the content of the site in your look/feel of choice. You can even try it out on different sized resolutions to give you an idea of the template's flexibility.

1 comment voice your opinion now!
design contest theme custom editor template tags


PHPImpact Blog:
A Django template language clone for PHP
August 29, 2008 @ 10:25:55

On the PHP::Impact blog today Federico points out a Django templating language clone for PHP - Calypso.

Calypso is a full clone of the Django Template Language that helps developers separates the presentational and logic concerns of the application. It offers template inheritance, pluggable tags and filters, and can be easily integrated into the Zend Framework

The most powerful part of the Calypso system is the template inheritance. It allows you to build up a skeleton of templates that can be used for the entire site with blocks and areas that any other part of the application can easily override.

0 comments voice your opinion now!
django clone calypso inheritance template


Paul Jones' Blog:
Savant Has A New Owner
August 20, 2008 @ 12:58:14

According to this new post to his blog, Paul Jones has passed on the torch for his Savant templating system over to Brett Bieber, a member of the Savant community.

Due to time constraints, mostly because of my Solar framework project, I haven't been able to pay as much attention to Savant as I think it deserves, so I made the hard decision to put it up for adoption. Lucky for the Savant community, Brett Bieber (aka Salty Beagle) picked up on that call right away.

Savant is a powerful but lightweight object-oriented template system for PHP that does not compile templates into PHP. It uses PHP itself as the engine to keep things simple.

0 comments voice your opinion now!
savant template system owner community brettbeiber



Community Events











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


framework application job zend release conference zendframework PHP5 mysql book developer ajax example package cakephp releases database PEAR security code

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