News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

Jani Hartikainen's Blog:
How to make a file downloadable through your script
October 10, 2008 @ 07:51:55

Jani Hartikainen has posted a quick tip for Zend Framework users out there looking to force a download from their script.

"How do I make a file downloadable through my script?" This seems to be a relatively common question on #zftalk nowadays, so here's a quick wrapup!

He compares the two ways - the usual PHP-only way of using header() calls and echoing out the file versus the more Zend Framework way - using a Response object to pull in the content, set the headers and a helper to display/render the data output.

0 comments voice your opinion now!
download file zendframework push content header



DevShed:
Building a Content Management System with Code Igniter
October 08, 2008 @ 14:49:19

DevShed has finished off its CodeIgniter series today with this ninth part focusing on making a simple content management system with the framework.

Designed to allow programmers to create applications rapidly by utilizing the Model-View-Controller pattern, the Code Igniter framework lets you add many capabilities quickly and easily. This article will bring everything we've learned together for the creation of a content management system.

Their system combines the bits of knowledge from the previous parts (segments of specific functionality) and combining them into a MySQL-driven system to store some information about the user's favorite movies.

0 comments voice your opinion now!
codeigniter content management system framework tutorial


Debuggable Blog:
Wildflower, a CakePHP CMS
September 23, 2008 @ 14:56:24

A new post on the Debuggable blog spotlights a content management system built on top of the framework - Wildflower.

There are hundreds of PHP Content Management Systems. Why would a decently earning freelancer, hacking Wordpress to fit any clients need decide to write one from scratch? The reason is CakePHP. [...] So what does a programmer do when he's not comfortable with the tool he uses? He programs a new one. It's slightly more than a year that I started a project called Wildflower. The tag line is A CakePHP CMS.

The article talks about what comes built into the CMS, includes some screenshots of it at work and talks some about the roadmap for the future of the project.

0 comments voice your opinion now!
cakephp framework cms content management wildflower


Gaylord Aulke's Blog:
Dumping MemcacheD Content (Keys) with PHP
September 02, 2008 @ 12:58:59

In a recent blog post Gaylord Aulke illustrated a method for dumping the (key) content from a memcached cache in a friendly, formatted way.

When i did some optimization of a cluster based webapp lately, I was wondering how Memcache was speading my cache entries over the cluster. So i did some research for monitoring tools. [...] Inspired by [memcache.php], i wrote a small script that fetches all data from a memcache cluster, gets all keys out of it and then sorts and displays them in a list. Yes it it ugly and yes: the memcacheD is not answering other requests while doing a cachedump.

He includes the 22 line script in the post to spit back the data in a simple array. From there it can be styled whoever you'd like.

0 comments voice your opinion now!
memcached content key dump output memcachephp statistics


DevShed:
Composing Messages in HTML for MIME Email with PHP
July 30, 2008 @ 14:34:59

DevShed continues its look at sending MIME emails with PHP in the fourth part of the series - a method for sending HTML in the message.

In this article, I'm going to show you how to provide the MIME mailer class with the ability to send email messages in HTML format. This will greatly extend its functionality, so don't miss this tutorial.

They start by reviewing the class they've created so far, including an example of its use. From there they modify it slightly to make it easy to embed the HTML content into the email by adding the addHTML and buildHTMLPart methods.

0 comments voice your opinion now!
compose email tutorial mime html content


Paranoid Engineering Blog:
CMS Battle Drupal va Joomla va Custom Programming
July 03, 2008 @ 12:50:06

On the Paranoid Engineering blog, there's a recent post with a "CMS battle" of sorts between two of the more popular PHP-based content management systems out there - Drupal and Joomla.

It's hard to choose which one to use without trying them out. As usually, there are more options - home grown custom programming or even building your own CMS (which I was once stupid enough to do). Programming from scratch is always fun and beneficial for your skills, however, if you need things up and running in no time or you don't do (or don't want to do) any programming, using a CMS is the way to go.

His vote is for Drupal but he's included a long list of specs comparing the features of both so you can decide for yourself on which is the better fit.

3 comments voice your opinion now!
battle content management system cms drupal joomla compare


Stefan Mischook's Blog:
Why build all your pages in PHP?
May 16, 2008 @ 07:54:06

On his blog today, Stefan Mischook shares his reasoning for making all of your pages PHP pages, regardless of static content or dynamic.

By making all your web pages PHP pages from the start, you are basically leaving open the possibility of using PHP in your web pages at any time.

By his reasoning, it provides an "out" for you later on should you decide that a page needs to have some dynamic content thrown in there somewhere (without having to change the filename - bad for SEO, supposedly).

1 comment voice your opinion now!
build page dynamic content static html



Developer Tutorials Blog:
RSS feeds in PHP 3 simple steps to PHP RSS generation
April 17, 2008 @ 08:47:50

On the Developer Tutorials blog today, there's a new post talking about the "three easy steps" to making an RSS feed for your blog:

Adding an RSS feed to your site is quick and painless, and can be done with pure PHP (and some kind of data source). After the jump, 3 simple steps to building an RSS feed in php.

The steps are pretty simple - figure out what content you want to serve, set up the basic RSS XML structure, and loop through your data to push it in to the template and echoed out. Some simple example code is included.

0 comments voice your opinion now!
rss feed generate tutorial steps example code content


Lars Strojny's Blog:
NOWDOC + double quotes = HEREDOC
April 15, 2008 @ 10:25:09

Lars Strojny has posted about a the new element that's been introduced in the PHP 5.3 branch - NOWDOC:

PHP 5.3 introduces a new syntax element, NOWDOC. If you know HEREDOC, NOWDOC is easy to understand: it is in fact HEREDOC taken literally. Whily variables are expanded in HEREDOC, in NOWDOC they are not.

NOWDOC is basically a HEREDOC except for one thing - no parsing is done inside of it, making it good for echoing out PHP code (that would otherwise need to be escaped all over).

0 comments voice your opinion now!
heredoc nowdoc parse block content



Community Events











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


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

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