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

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


HowTo Forge:
PHP Programming Basics
January 18, 2007 @ 15:15:00

The HowTo Forge website has posted the first part in a new series of tutorials to help people (programmers and non) to get into PHP and be comfortable working with it.

This first part starts from the base they've already set (installation/configuration) and actually gets into the code.

This article is the first of a series of PHP guides that aim at teaching you the basics of PHP programming. By now, I hope you would have set up your system to start actual PHP programming. Lets start PHP programming.

They keep things simple and look at topics like:

  • What are tags?
  • Web Page Parsing
  • Operators and Operands
  • Variables

0 comments voice your opinion now!
programming basics parsing tags operator operand variable programming basics parsing tags operator operand variable


Joshua Eichorn's Blog:
phpDocumentor enhancements
July 14, 2006 @ 06:00:15

Joshua Eichorn shares some of the updates to the phpDocumentor software in his latest post today:

As PHP keeps added language features one of the things we have to do is figure out how to document them. Lately I've been hearing requests for a way to document virtual properties and methods on classes that are implemented using __call etc.

After talking a bit with Greg, I'm leaning towards adding in some new docblock tags to classes to allow these methods/properties to be documented.

He includes a code example for the documentation method suggested on these new functionality bits. He also asks for comments/ideas on how to hald these sorts of updates in the future.

0 comments voice your opinion now!
phpdocumentor enhancements docblock tags manage changes phpdocumentor enhancements docblock tags manage changes


Daniel Hofstetter's Blog:
How to update multiple divs with Ajax
June 30, 2006 @ 05:55:40

On the Cake Baker blog today, Daniel Hofstetter shows us how to update the contents of multiple div tags with a little help from Ajax:

This is a question which arises from time to time in the CakePHP google group. There is an example in the group, but I have to admit I didn't understood it the first time I read it. So I try to provide a better example.

His example creates a view with the Ajax link and two divs inside to update - our containers. Next up is the controller, a simple matter of four lines to set which layout to use. And, lastly, they create another view, one to handle the actual updates to the two divs previously created. Using it is as simple as clicking on the link in the first view, populating the two divs with new information.

Be sure to check out the comments for other helpful hints and bug information (with Firefox).

0 comments voice your opinion now!
ajax cakephp framework multiple tags div content view controller ajax cakephp framework multiple tags div content view controller


Scott Johnson's Blog:
Your Simple PHP Code Snippet for Monday
May 09, 2006 @ 06:03:23

Trying to find the HTML errors in a complex layout on a page can get very frustrating (especially when it repeats elements generated by backend scripts). Scott Johnson had one such instance, so he wrote a little script to help with it.

I wasn't planning on blogging much today (or, honestly, this week) since we're making good progress on Ookles but our designer just had to deal with the situation where one of our developers clobbered our page footer w/ a comment gone astray and she wasted quite a bit of time analyzing the problem. Which, naturally, turned out to be nothing more than an unbalanced set of div tags.

And since that's more often than not the problem these days with CSS bugs - at least for us - I whipped up a drop dead dumb div tag counter which seems to work but I suspect isn't perfect since its about as naive as you can get.

He has the source of the script included in the post as well as two examples of using it with msn.com and news.com. Other suggestions of tools to help with these problems are listed in the comments - the View Rendered Source Firefox extension, and the HTML Validator for Firefox.

0 comments voice your opinion now!
snipped match div tags validator firefox extension snipped match div tags validator firefox extension


Davey Shafik's Blog:
Spring Cleaning (or a Move from Categories to Tags)
May 03, 2006 @ 07:13:37

Davey Shafik has done some "spring cleaning" on his blog and finally implemented a tagging based system for it (using the Serendipity software) away from the category system it uses by default. In this new post he shares the simple solution to how he did it.

One of the many things I have planned to do for this site is use tags instead of categories. However, when I first tried the plugin, it was quite broken. So I dropped the idea.

However, when setting up the PHP Thinktank blog I gave it another whirl and it works beautifully. So I decided to try again on this site.

He populates the tags for the entries in a simple way - a SQL query that goes through and updates the tag table with the current category for the entry.

2 comments voice your opinion now!
tags categories move serendipity plugin tags categories move serendipity plugin


PHPCult.com:
PHP, Laziness and the consequences of bad habits
April 10, 2006 @ 06:57:17

In this new post from Vidyut Luther on PHPCult.com, he mentions some difficulties he had installing some new PHP software - caused by bad habits the programmers used that caused trouble down the line. To help prevent further abuses of these issues, he lists out some of them.

His list so far is:

  • Turning "register globals" on
  • using shot open tags
  • using the ASP style of tagging
  • single-line condition statements (without the curly braces)
  • improper use of exit()
  • assuming settings on a remote server

For each of the above options, he briefly covers his opinion as to why they're wrong and can cause some serious headaches down the line. Most advanced programmers out there know about most of these issues, and have learned to work without them.

0 comments voice your opinion now!
laziness bad habits register_globals short tags exit laziness bad habits register_globals short tags exit


Michael Kimsal's Blog:
PHP short tags/xml patch (AKA long live short tags!)
January 16, 2006 @ 07:54:44

On Michael Kimsal's blog today, there's this new post with his method handling the "short tags" issue that plagues so many developers out there with a patch that makes it less of a problem.

For years I've been seeing people try to get rid of PHP "short tags" - Well, last year I made a quick patch to prove that the XML tag conflict was something that could be taken care of at the PHP parser level. It worked, but I lost that patch. So, I put it together again and would like some feedback. It seems to work OK on my end, and I'd like to see if this is something that we could get some traction behind.

He gives the source for the patch, a modification to one of the C files prior to compiling the PHP installation....

0 comments voice your opinion now!
short tags long live patch zend_language_scanner.c short tags long live patch zend_language_scanner.c



Community Events





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


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

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