News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:



Developer Tutorials Blog:
RSS feeds in PHP 3 simple steps to PHP RSS generation
0 comments :: posted Thursday April 17, 2008 @ 08:47:50
voice your opinion now!

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.

tagged with: rss feed generate tutorial steps example code content

Lars Strojny's Blog:
NOWDOC + double quotes = HEREDOC
0 comments :: posted Tuesday April 15, 2008 @ 10:25:09
voice your opinion now!

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).

tagged with: heredoc nowdoc parse block content

Developer Tutorials Blog:
Working With Wordpress Offline Like a Pro
0 comments :: posted Thursday April 10, 2008 @ 09:48:51
voice your opinion now!

On the Developer Tutorials blog, there's a new post showing you what all you'll need to install to work with WordPress offline "like a pro" on your local machine.

I used to work off of my web server but the problem I've had lately is that when I'm not connected to the internet I haven't been able to code for Wordpress in a way that allows me to view my changes. Since I started using the techniques used in this tutorial my productivity has increased significantly.

His method has you install MAMP on your local machine (for the Windows users, WAMP is just about as easy to set up) and how to import content over from your remote server to the local machine. Of course, you could just set up a subversion repository, but that's another tutorial...

tagged with: wordpress ofline mamp wamp configure import content webserver

Developer Tutorials Blog:
Extracting text from Word Documents via PHP and COM
1 comment :: posted Wednesday March 26, 2008 @ 12:02:06
voice your opinion now!

In a recent blog post Akash Mehta showed how to reach into a Microsoft document (a Word file) and pull out the content inside via a PHP script.

Communicating via COM in PHP is easy as ever; especially for people coming from a VB background where executing complex tasks in MS-applications is a piece of cake, you will feel right at home in PHP. In fact, VB COM calls can be converted to PHP COM calls in just a few simple search and replaces.

He shows how to use the COM extension in a (Windows) PHP installation to access the text inside the document and manipulate the contents however you'd like (even writing them back out to another Word file).

tagged with: com document word extract content manipulate

Alan Knowles' Blog:
Another 7 deadly sins for PHP
0 comments :: posted Tuesday March 25, 2008 @ 11:19:29
voice your opinion now!

In some thoughts related to the just-passed religious holiday, Alan Knowles decided to come up with another series of 7 deadly sins one could commit in their PHP (CMS) development.

Among those on the list are things like:

  • Defines for configuration
  • Filenaming
  • If your code is public, you should try not to ridicule yourself.
  • Mixing PHP and HTML

Check out the rest of the post and some of the interesting comments that follow.

tagged with: deadly sin content management system problem

Matthew Weir O'Phinney's Blog:
Using Zend_View Placeholders to Your Advantage
0 comments :: posted Wednesday March 19, 2008 @ 12:04:05
voice your opinion now!

On his blog today, Matthew Weir O'Phinney offers some helpful advice about using the placeholder functions of the Zend_View component (like headScript or headLink) to make coding in the Zend Framework that much easier:

Somebody asked for some examples of how I use the headLink(), headScript(), and other placeholder helpers, so I thought I'd take a crack at that today.

He looks at the different categories of placeholders and illustrates with examples of each: Doctype Hinting, Content Aggregation, Capturing Content and finally, putting them all together into a custom layout that uses docType, headLink, headStyle and headScript.

tagged with: zendframework zendview component placeholder doctype content

SitePoint PHP Blog:
Drupal 6.0 Released
0 comments :: posted Monday February 18, 2008 @ 09:34:00
voice your opinion now!

The SitePoint PHP Blog has a new post from Matthew Magain spotlighting the release of the latest version of one of the more popular PHP CMS systems out there - Drupal 6.

The Drupal development team surprised everyone when they released version 6.0 last week, ahead of schedule.

Over sixteen-hundred issues were corrected and major changes (like usability improvements, security and an expanded development framework) were introduced. They've even created a screencast to help you set up your own CMS site even faster than before.

Find out more on the Drupal homepage.

tagged with: drupal cms content manage release version improvement bugfix

Padraic Brady's Blog:
Zend_Feed Getting Started With Aggregating RSS/Atom Content
0 comments :: posted Tuesday February 12, 2008 @ 09:32:00
voice your opinion now!

Padraic Brady has put together a very comprehensive post on his blog today about using the Zend_Feed component of the Zend Framework to help with the aggregation of content from other sites (like RSS and Atom feeds).

In this entry I explore Zend_Feed from the perspective of someone aggregating RSS and Atom feeds with a view to building a database of uniquely identified content for later presentation in a "Planet" style application. [...] In fact all we create here is a simple command line script to aggregate content frequently (e.g. just set up cron to run it every hour or so) into a database for later presentation.

He guides you through each step of the way:

  • Setting Up Database And Models
  • The Aggregator Script Foundation
  • Using Zend_Feed to get common data for RSS/Atom entries
  • Putting It All Together

There's plenty of code (and SQL to insert) in the post and he explains each point well, helping to make the development process smoother. There's even a summary section to toss in a few extra bits of information just in case you missed them along the way.

tagged with: zendfeed zendframework aggregate rss atom feed content

Hasin Hayder's Blog:
International PHP-Magazine - Is it dead?
0 comments :: posted Monday January 28, 2008 @ 08:59:00
voice your opinion now!

Hasin Hayder asks a question in his latest blog post that some in the PHP community have been wondering for a while now - is the International PHP Magazine dead?

I am a subscriber of International PHP Magazine for years. I bought the subscription looking at the back issues. They were sexy, resourceful and yup, very good. But I think these guys don't care about the magazine anymore. It became just a funny stuff for them. All the readers/subscribers and viewers doesn’t bring any value to them. Look what they are doing actually...

He points out six things that the magazine and its staff are doing including RoR articles in an issue, content on the site that's way out of date and the smaller size of recent issues. Comments to the post point out that there has been issues released but that the magazine is published by a non-technical company that just might be pushing this particular publication aside.

tagged with: international magzine dead issue content old


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

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