Tell A Friend
Message
Your Name
Email
Friend's Email
Your code
Enter the code above
 
Contact Form
Message
Your Name
Email
Your code
Enter the code above
 
Search for in Advanced   Google the site
New Links New Articles Newest News
Enter your email to Receive Free E-mail Updates (New Links)
Add to Google Reader or Homepage Add to My AOL Subscribe in Bloglines
Home >>

Top Rated News

  Links
 Ajax
 ASP
 ASP.NET
 CGI and Perl
 Databases
 HTML and CSS
 Java
 JavaScript
 PHP
 Tools and Utilities
 Web Design
 Web Hosting
 XML
  News
 PHP
 Web Development General
  Articles
 Ajax
 JavaScript
 PHP
 Web Development General
RSS Feeds - Links
New links
Editor's pick
Popular links
RSS Feeds - News
New items
Editor's pick
Popular items
RSS Feeds - Articles
New articles
Editor's pick
Popular articles

Top Rated News
Phil Sturgeon's Blog: How to: Multi-site CodeIgniter Set-up
Click here for details, rating, comments and other features
The CodeIgniter framework, by default, is set up to work with a one site instance. Unfortunately, this isn't always the case and several developers have found the need to make it support more than one website based on the same codebase. Phil Sturgeon has written up this post to show you exactly how. A few people have asked me recently about setting up CodeIgniter to run accross multiple domains based on the same codebase. This can be handy for sites than run different databases for different geographical areas, all of which need the same code but different content. To get this working I took a little code from PyroCMS and modded a previous article "How to: Support multiple production environments in CodeIgniter" and found a relatively simple solution. You'll need to modify a bit of code to get things working: changing up the config.php to look at the hostname, making a site constant and updating the database.php config file to configure connections for each of the site constant defined.
Continue ...
Created: 24-06-2009.
Readers this month: 1 - Readers total: 46::
Tags:   Phil    Sturgeon's    Blog:    How    to:    Multi-site    CodeIgniter    Set-up
Phil Sturgeon's Blog: How to: Multi-site CodeIgniter Set-up
Rating: 5.00 (1 votes) 
The CodeIgniter framework, by default, is set up to work with a one site instance. Unfortunately, this isn't always the case and several developers have found the need to make it support more than one website based on the same codebase. Phil Sturgeon has written up this post to show you exactly how. A few people have asked me recently about setting up CodeIgniter to run accross multiple domains based on the same codebase. This can be handy for sites than run different databases for different geographical areas, all of which need the same code but different content. To get this working I took a little code from PyroCMS and modded a previous article "How to: Support multiple production environments in CodeIgniter" and found a relatively simple solution. You'll need to modify a bit of code to get things working: changing up the config.php to look at the hostname, making a site constant and updating the database.php config file to configure connections for each of the site constant defined.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Handling Mouse Overs and Keyboard Events with the jQuery JavaScript Library
Click here for details, rating, comments and other features
Welcome to the third part of an eight-part series introducing the jQuery JavaScript library. This series provides you with a quick overview of the most important features that come packaged with the jQuery JavaScript framework. You ll learn how to manipulate web pages via the DOM handle different mouse and keyboard events develop Ajax applications and create eye-popping effects.... Windows Marketplace for Mobile Create Windows Mobile Applications And Turn Your Ideas Into Cash.
Continue ...
Created: 28-08-2009.
Readers this month: 0 - Readers total: 124::
Tags:   Handling    Mouse    Overs    and    Keyboard    Events    with    the    jQuery    JavaScript    Library
Handling Mouse Overs and Keyboard Events with the jQuery JavaScript Library
Rating: 4.00 (1 votes) 
Welcome to the third part of an eight-part series introducing the jQuery JavaScript library. This series provides you with a quick overview of the most important features that come packaged with the jQuery JavaScript framework. You ll learn how to manipulate web pages via the DOM handle different mouse and keyboard events develop Ajax applications and create eye-popping effects.... Windows Marketplace for Mobile Create Windows Mobile Applications And Turn Your Ideas Into Cash.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Blue Parabola Blog: Magento Feature Analysis Series, Part 3: Catalog Browsing Offering
Click here for details, rating, comments and other features
Matthew Turland has posted the third part of his series looking at the features Magento, a popular PHP-based e-commerce application, has to offer. This time the focus is on browsing the catalog of available items. This post is the third part of a series covering the feature set of the Magento PHP-based e-commerce package. In particular, it will review the catalog browsing features. Some of the features in this area are restricted to the Enterprise Edition of Magento. As such, reviewing them required accessing the demo for that edition on the Magento web site. There's a long list of features that make up this section including things like: Layered / Faceted Navigation for Product Filtering in Categories Static Block Tool to Create Category Landing Pages Unique Design Per Product/Category Configurable Search with Auto-Suggested Terms Cross-sells, Up-sells, and Related Items Product Listing in Grid or List Format Breadcrumbs Take a look at the rest of the post for more features and a summary of three larger issues he found when working with them.
Continue ...
Created: 18-07-2009.
Readers this month: 2 - Readers total: 85::
Tags:   Blue    Parabola    Blog:    Magento    Feature    Analysis    Series    Part    Catalog    Browsing    Offering
Blue Parabola Blog: Magento Feature Analysis Series, Part 3: Catalog Browsing Offering
Rating: 3.00 (1 votes) 
Matthew Turland has posted the third part of his series looking at the features Magento, a popular PHP-based e-commerce application, has to offer. This time the focus is on browsing the catalog of available items. This post is the third part of a series covering the feature set of the Magento PHP-based e-commerce package. In particular, it will review the catalog browsing features. Some of the features in this area are restricted to the Enterprise Edition of Magento. As such, reviewing them required accessing the demo for that edition on the Magento web site. There's a long list of features that make up this section including things like: Layered / Faceted Navigation for Product Filtering in Categories Static Block Tool to Create Category Landing Pages Unique Design Per Product/Category Configurable Search with Auto-Suggested Terms Cross-sells, Up-sells, and Related Items Product Listing in Grid or List Format Breadcrumbs Take a look at the rest of the post for more features and a summary of three larger issues he found when working with them.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Search without refreshing page using jQuery, Ajax and PHP.
Click here for details, rating, comments and other features
This tutorial about how to display twitter like search results with jQuery and Ajax. When you click the search button the results will display on the same page. This is very interesting and simple.
Continue ...
Created: 13-08-2009.
Readers this month: 1 - Readers total: 149::
Tags:   Search    without    refreshing    page    using    jQuery    Ajax    and    PHP.
Search without refreshing page using jQuery, Ajax and PHP.
Rating: 2.67 (6 votes) 
This tutorial about how to display twitter like search results with jQuery and Ajax. When you click the search button the results will display on the same page. This is very interesting and simple.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Pulling Web Page Elements with the Blueprint CSS Framework
Click here for details, rating, comments and other features
If you re a web designer who s seeking a comprehensive guide to the main features of the Blueprint CSS framework you ve come to the right place. Welcome to the final episode of a series that gives you a quick overview of Blueprint CSS framework. Comprised of seven friendly tutorials this series gets you started using this robust CSS library and shows you how to take advantage of its numerous capabilities by means of a great variety of code samples.... Microsoft Visual Studio - Free Training Create next-gen, connected apps on VS. Now offering 12 Hrs of free .Net training
Continue ...
Created: 19-06-2009.
Readers this month: 3 - Readers total: 119::
Tags:   Pulling    Web    Page    Elements    with    the    Blueprint    CSS    Framework
Pulling Web Page Elements with the Blueprint CSS Framework
Rating: 1.00 (1 votes) 
If you re a web designer who s seeking a comprehensive guide to the main features of the Blueprint CSS framework you ve come to the right place. Welcome to the final episode of a series that gives you a quick overview of Blueprint CSS framework. Comprised of seven friendly tutorials this series gets you started using this robust CSS library and shows you how to take advantage of its numerous capabilities by means of a great variety of code samples.... Microsoft Visual Studio - Free Training Create next-gen, connected apps on VS. Now offering 12 Hrs of free .Net training                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Brandon Savage's Blog: Where Multiple Inheritance Will Kill You
Click here for details, rating, comments and other features
In this new post to his blog Brandon Savage takes a look at multiple inheritance in PHP applications - specifically where it could "kill you" if you're not careful. This is a fantastic way to further encapsulate and abstract your code because it means you can define some base functionality and then later on extend that class to add new functionality and even override existing functionality to make the class specific. But this concept is a double-edged sword in PHP (and all other languages). The problem lies in methods in classes that could be overriding parents and the sort of results that instance of might return in a multiple inheritance environment. He includes code snippets both illustrating the problem and showing a suggestion for how it could be avoided.
Continue ...
Created: 18-07-2009.
Readers this month: 1 - Readers total: 43::
Tags:   Brandon    Savage's    Blog:    Where    Multiple    Inheritance    Will    Kill    You
Brandon Savage's Blog: Where Multiple Inheritance Will Kill You
Rating: 1.00 (1 votes) 
In this new post to his blog Brandon Savage takes a look at multiple inheritance in PHP applications - specifically where it could "kill you" if you're not careful. This is a fantastic way to further encapsulate and abstract your code because it means you can define some base functionality and then later on extend that class to add new functionality and even override existing functionality to make the class specific. But this concept is a double-edged sword in PHP (and all other languages). The problem lies in methods in classes that could be overriding parents and the sort of results that instance of might return in a multiple inheritance environment. He includes code snippets both illustrating the problem and showing a suggestion for how it could be avoided.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Vid Luther's Blog: Deploying Wordpress with Phing to the Rackspace Cloud
Click here for details, rating, comments and other features
Vid Luther has a recent post over on his blog today about using Phing to deploy WordPress to the cloud, more specifically to the Rackspace Cloud Sites. My last post about Wordpress and Capistrano made people ask why wasn't I using Phing, and staying within the PHP ecosystem. The answer was simple, I wanted to learn Ruby, and I wanted to learn Capistrano. The question kept nagging me though, so I decided to find out how easy would it be to duplicate this in PHP. He lists some of his requirements (as laid out in his Capistrano build) like made over a secure connection and can work with the Rackspace Cloud Sites. He came up against a few issues - some dealing with the platform, another about the tools installed - but besides that, things got working quickly. He includes the XML configuration file he used for Phing to get it all working happily.
Continue ...
Created: 17-02-2010.
Readers this month: 1 - Readers total: 8::
Tags:   Vid    Luther's    Blog:    Deploying    Wordpress    with    Phing    the    Rackspace    Cloud
Vid Luther's Blog: Deploying Wordpress with Phing to the Rackspace Cloud
Rating: 0.00 (0 votes) 
Vid Luther has a recent post over on his blog today about using Phing to deploy WordPress to the cloud, more specifically to the Rackspace Cloud Sites. My last post about Wordpress and Capistrano made people ask why wasn't I using Phing, and staying within the PHP ecosystem. The answer was simple, I wanted to learn Ruby, and I wanted to learn Capistrano. The question kept nagging me though, so I decided to find out how easy would it be to duplicate this in PHP. He lists some of his requirements (as laid out in his Capistrano build) like made over a secure connection and can work with the Rackspace Cloud Sites. He came up against a few issues - some dealing with the platform, another about the tools installed - but besides that, things got working quickly. He includes the XML configuration file he used for Phing to get it all working happily.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Sebastian Bergmann's Blog: Stubbing Hard-Coded Dependencies
Click here for details, rating, comments and other features
Sebastian Bergmann has a new post to his blog (part of a series on testing techniques for testing that difficult code) about the hard-coded dependencies required by your code and how to stub them for easier testing. A mock object can be used anywhere in the program where the program expects an object of the mocked class. However, this only works as long as the object can be passed into the context where the original object is used. Ideally this wouldn't be a problem - handled correctly, dependency injection would make it a non-issue. But, because it has been known to happen, PHPUnit gives you the ability, via the set_new_overload method, to capture that object definition and mock it with a reference to another method in the test class.
Continue ...
Created: 17-02-2010.
Readers this month: 0 - Readers total: 7::
Tags:   Sebastian    Bergmann's    Blog:    Stubbing    Hard-Coded    Dependencies
Sebastian Bergmann's Blog: Stubbing Hard-Coded Dependencies
Rating: 0.00 (0 votes) 
Sebastian Bergmann has a new post to his blog (part of a series on testing techniques for testing that difficult code) about the hard-coded dependencies required by your code and how to stub them for easier testing. A mock object can be used anywhere in the program where the program expects an object of the mocked class. However, this only works as long as the object can be passed into the context where the original object is used. Ideally this wouldn't be a problem - handled correctly, dependency injection would make it a non-issue. But, because it has been known to happen, PHPUnit gives you the ability, via the set_new_overload method, to capture that object definition and mock it with a reference to another method in the test class.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Ibuildings techPortal: Surviving a Plane Crash
Click here for details, rating, comments and other features
The Ibuildings techPortal has posted the latest episode of their Dutch PHP Conference 2009 podcast series, a session given by Peter Verhage on handling the ups and downs of server loads and traffic. NU.nl is a well known news website in its homeland, The Netherlands, and is actively expanding into other countries. On an average day NU.nl will serve up 7 million page views; peak traffic days are more than triple that number. [...] In this [episode] we want to look at the front end that we architected for NU.nl, and how we designed the system to handle both regular traffic and peaks. To listen you can either use the in-page player or you can grab the mp3 directly.
Continue ...
Created: 17-02-2010.
Readers this month: 2 - Readers total: 7::
Tags:   Ibuildings    techPortal:    Surviving    Plane    Crash
Ibuildings techPortal: Surviving a Plane Crash
Rating: 0.00 (0 votes) 
The Ibuildings techPortal has posted the latest episode of their Dutch PHP Conference 2009 podcast series, a session given by Peter Verhage on handling the ups and downs of server loads and traffic. NU.nl is a well known news website in its homeland, The Netherlands, and is actively expanding into other countries. On an average day NU.nl will serve up 7 million page views; peak traffic days are more than triple that number. [...] In this [episode] we want to look at the front end that we architected for NU.nl, and how we designed the system to handle both regular traffic and peaks. To listen you can either use the in-page player or you can grab the mp3 directly.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

OurBlogLog.com: Joomla vs Drupal , The Sad Truth
Click here for details, rating, comments and other features
New from OurBlogLog.com there's a new post that compares Joomla and Drupal based on their features, ease of use and extensibility. I've had more than a few conversations recently about which CMS is better. From the Joomla camp I hear, "Joomla is easier. Joomla has a great user interface." From its competitor I hear, "Drupal is more flexible and it has tagging." It's the Pepsi versus Coke debate for open source CMSes. For the two CMSes there's a list of the good and bad things about each - good on Joomla's side was the easy deployment and versioning of content, good for Drupal was its flexibility and the high profile sites that use it. On the bad side, Joomla has a limitation for one-site-one-install and limited permissions handling. Overall, though, the author found that they both had their strengths and weaknesses and that, if you're shopping around for a CMS, find what fits best for you and your organization.
Continue ...
Created: 17-02-2010.
Readers this month: 1 - Readers total: 6::
Tags:   OurBlogLog.com:    Joomla    Drupal    The    Sad    Truth
OurBlogLog.com: Joomla vs Drupal , The Sad Truth
Rating: 0.00 (0 votes) 
New from OurBlogLog.com there's a new post that compares Joomla and Drupal based on their features, ease of use and extensibility. I've had more than a few conversations recently about which CMS is better. From the Joomla camp I hear, "Joomla is easier. Joomla has a great user interface." From its competitor I hear, "Drupal is more flexible and it has tagging." It's the Pepsi versus Coke debate for open source CMSes. For the two CMSes there's a list of the good and bad things about each - good on Joomla's side was the easy deployment and versioning of content, good for Drupal was its flexibility and the high profile sites that use it. On the bad side, Joomla has a limitation for one-site-one-install and limited permissions handling. Overall, though, the author found that they both had their strengths and weaknesses and that, if you're shopping around for a CMS, find what fits best for you and your organization.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

IBM developerWorks: Python basics for PHP developers
Click here for details, rating, comments and other features
On the IBM developerWorks site there's a recent article looking to help PHP developers bridge the gap to Python by teaching some of the beginning steps in this other, different sort of language. This article gives you a bit of exposure to Python. It assumes that you have no knowledge of that programming language, so some of what you read here might seem a bit basic. It focuses on comparing and contrasting Python with PHP - not because one language is better than the other but because of a simple truth: It's often easier to learn new things by referring back to something you already know. They start off by introducing the language and talking about the differences between them including the differing syntax, Python's concept of mutability/immutability and the non-positional argument handling. From there, it's all about the basics - making a sample script, using loops, working with strings, conditionals, lists and dictionaries. A full sample script shows you how to pull it all together to pull in a list of files and outputs basic information about them.
Continue ...
Created: 17-02-2010.
Readers this month: 1 - Readers total: 4::
Tags:   IBM    developerWorks:    Python    basics    for    PHP    developers
IBM developerWorks: Python basics for PHP developers
Rating: 0.00 (0 votes) 
On the IBM developerWorks site there's a recent article looking to help PHP developers bridge the gap to Python by teaching some of the beginning steps in this other, different sort of language. This article gives you a bit of exposure to Python. It assumes that you have no knowledge of that programming language, so some of what you read here might seem a bit basic. It focuses on comparing and contrasting Python with PHP - not because one language is better than the other but because of a simple truth: It's often easier to learn new things by referring back to something you already know. They start off by introducing the language and talking about the differences between them including the differing syntax, Python's concept of mutability/immutability and the non-positional argument handling. From there, it's all about the basics - making a sample script, using loops, working with strings, conditionals, lists and dictionaries. A full sample script shows you how to pull it all together to pull in a list of files and outputs basic information about them.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Community News: Latest Releases from PHPClasses.org
Click here for details, rating, comments and other features
Facebook Chat PHP 4 HTML DOM Simple timer class Profanity Filter HTML fixer FFmpeg PHP mysql.export SimpleProfiler Composite Pattern Tokenizer Google Domain Search Result Integration DS Thai date xmlDB New Google - Did You Mean
Continue ...
Created: 17-02-2010.
Readers this month: 0 - Readers total: 3::
Tags:   Community    News:    Latest    Releases    from    PHPClasses.org
Community News: Latest Releases from PHPClasses.org
Rating: 0.00 (0 votes) 
Facebook Chat PHP 4 HTML DOM Simple timer class Profanity Filter HTML fixer FFmpeg PHP mysql.export SimpleProfiler Composite Pattern Tokenizer Google Domain Search Result Integration DS Thai date xmlDB New Google - Did You Mean                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Web Development Blog: E-mail links, protective solutions against SPAM
Click here for details, rating, comments and other features
In a recent post to the Web Development Blog they talks a look at some methods you can use on your site to help reduce the amount of spam sent to email addresses by protecting them from scripts that might harvest them right from the page. There are lots of spam bots checking the Internet for email addresses on regular websites, forums, blog and mailing lists. Once caught by some spam bot your mailbox is in need of a strong spam filter or sometimes it might be better to use a new e-mail address. In this article we show you different ways, how you're able to show your e-mail address to human visitors and hide it for spam bots. They give four solutions, some a bit more practical than others - using an image instead of the text-only version of the address, hiding the @ symbol, hiding it with PHP (converting it to ASCII) and using Javascript to handle it similarly.
Continue ...
Created: 17-02-2010.
Readers this month: 2 - Readers total: 3::
Tags:   Web    Development    Blog:    E-mail    links    protective    solutions    against    SPAM
Web Development Blog: E-mail links, protective solutions against SPAM
Rating: 0.00 (0 votes) 
In a recent post to the Web Development Blog they talks a look at some methods you can use on your site to help reduce the amount of spam sent to email addresses by protecting them from scripts that might harvest them right from the page. There are lots of spam bots checking the Internet for email addresses on regular websites, forums, blog and mailing lists. Once caught by some spam bot your mailbox is in need of a strong spam filter or sometimes it might be better to use a new e-mail address. In this article we show you different ways, how you're able to show your e-mail address to human visitors and hide it for spam bots. They give four solutions, some a bit more practical than others - using an image instead of the text-only version of the address, hiding the @ symbol, hiding it with PHP (converting it to ASCII) and using Javascript to handle it similarly.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Site News: Job Postings for the week of 03.08.2009
Click here for details, rating, comments and other features
Job postings for the past week:Job Posting: TEKsystems (Recruiter) Seeks PHP Developer (Las Colinas, TX) Job Posting: Kodak Seeks PHP Developer (Stamford, CT) Job Posting: StaffMagnet (Recruiter) Seeks PHP Developer (Gaithersburg, MD) Job Posting: Hark & Company Seeks Web Architect/Developer (London, UK)
Continue ...
Created: 16-03-2009.
Readers this month: 0 - Readers total: 8::
Tags:   Site    News:    Job    Postings    for    the    week    03.08.2009
Site News: Job Postings for the week of 03.08.2009
Rating: 0.00 (0 votes) 
Job postings for the past week:Job Posting: TEKsystems (Recruiter) Seeks PHP Developer (Las Colinas, TX) Job Posting: Kodak Seeks PHP Developer (Stamford, CT) Job Posting: StaffMagnet (Recruiter) Seeks PHP Developer (Gaithersburg, MD) Job Posting: Hark & Company Seeks Web Architect/Developer (London, UK)                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Tony Bibbs' Blog: MVCnPHP (A Framework)
Click here for details, rating, comments and other features
Tony Bibbs has made a release of an MVC framework that's been a few years of his development time in the making - MVCnPHP. I will start this blog entry by saying I like Zend Framework. I really do. However, the part of ZF I don't use is the MVC implementation. No, it's not bad. Actually it's a good implementation that is the product of a lot of hard work by Zenders and non-Zenders alike. I use bits and pieces of ZF in my PHP projects and, admittedly, Zend's MVC implementation never made the cut. He decided a while back on his own implementation and has stuck with it over the years. He still uses the components of the Zend Framework but not the routing and model/view/controller setup of it all. Instead he's opted for his own MVCnPHP methods for his own applications. You can check out these resource for more information: a sample application, the user guide and, of course, the framework's download page.
Continue ...
Created: 16-03-2009.
Readers this month: 0 - Readers total: 9::
Tags:   Tony    Bibbs'    Blog:    MVCnPHP    Framework)
Tony Bibbs' Blog: MVCnPHP (A Framework)
Rating: 0.00 (0 votes) 
Tony Bibbs has made a release of an MVC framework that's been a few years of his development time in the making - MVCnPHP. I will start this blog entry by saying I like Zend Framework. I really do. However, the part of ZF I don't use is the MVC implementation. No, it's not bad. Actually it's a good implementation that is the product of a lot of hard work by Zenders and non-Zenders alike. I use bits and pieces of ZF in my PHP projects and, admittedly, Zend's MVC implementation never made the cut. He decided a while back on his own implementation and has stuck with it over the years. He still uses the components of the Zend Framework but not the routing and model/view/controller setup of it all. Instead he's opted for his own MVCnPHP methods for his own applications. You can check out these resource for more information: a sample application, the user guide and, of course, the framework's download page.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

David Goodwin's Blog: Storing PHP objects in a database (please no!)
Click here for details, rating, comments and other features
David Goodwin has a suggestion for those developers that think storing objects in a database is a good idea - don't do it! Short answer: DO NOT DO IT. Longer answer:....I hate seeing serialized PHP objects within a database. Some of his reasons include: It's difficult to index/search - you'll probably need to use a regexp. PHP Specific - good luck doing much with the data in a.n.other language If the objects are large, you're likely to have a text or a blob field - this will suck from a performance point of view (at least in MySQL) Why bother storing serialized objects in a database - surely to the filesystem would be better? Several opinions are expressed in the comments including some that agree with David and some that still defend the idea.
Continue ...
Created: 16-03-2009.
Readers this month: 0 - Readers total: 8::
Tags:   David    Goodwin's    Blog:    Storing    PHP    objects    database    (please    no!)
David Goodwin's Blog: Storing PHP objects in a database (please no!)
Rating: 0.00 (0 votes) 
David Goodwin has a suggestion for those developers that think storing objects in a database is a good idea - don't do it! Short answer: DO NOT DO IT. Longer answer:....I hate seeing serialized PHP objects within a database. Some of his reasons include: It's difficult to index/search - you'll probably need to use a regexp. PHP Specific - good luck doing much with the data in a.n.other language If the objects are large, you're likely to have a text or a blob field - this will suck from a performance point of view (at least in MySQL) Why bother storing serialized objects in a database - surely to the filesystem would be better? Several opinions are expressed in the comments including some that agree with David and some that still defend the idea.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

NETTUTS.com: Diving into PHP
Click here for details, rating, comments and other features
On the NETUTS.com website they've posted a part of their "Dive into PHP" series (part thirteen) cross-posted from the ThemeForest blog (subscribe here). In this edition the vidcast looks at how to handle file uploads in PHP. By posting short ten minute episodes, beginners can easily digest each lesson, rather than become overwhelmed with more information than their minds are able to consume. [...] In this lesson, you'll learn how to upload files, and how to use regular expressions to ensure that inappropriate file types aren't uploaded to your server. You can follow along with the vidcast and check out the demo or just skip straight to the source code to get going right away. Links to some of the other video tutorials are also included for things like working with variables, regular expressions and getting started with MySQL.
Continue ...
Created: 16-03-2009.
Readers this month: 0 - Readers total: 10::
Tags:   NETTUTS.com:    Diving    into    PHP
NETTUTS.com: Diving into PHP
Rating: 0.00 (0 votes) 
On the NETUTS.com website they've posted a part of their "Dive into PHP" series (part thirteen) cross-posted from the ThemeForest blog (subscribe here). In this edition the vidcast looks at how to handle file uploads in PHP. By posting short ten minute episodes, beginners can easily digest each lesson, rather than become overwhelmed with more information than their minds are able to consume. [...] In this lesson, you'll learn how to upload files, and how to use regular expressions to ensure that inappropriate file types aren't uploaded to your server. You can follow along with the vidcast and check out the demo or just skip straight to the source code to get going right away. Links to some of the other video tutorials are also included for things like working with variables, regular expressions and getting started with MySQL.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Echolibre Blog: Customising Zend Framework Routing
Click here for details, rating, comments and other features
On the echolibre blog J.D. has made a new post looking at Zend Framework routing and how you can customize it to get the user where they need to go. I wanted to write a post that shows a few different ways to customise Zend Frameworks routing when you're using their MVC implementation. Most of this is covered in the documentation, but it can be a little difficult to dig out. He starts with the normal routing setup (the standard /module/controller/action and /controller/action setups) and moves on to the "magic" - a way to have a standard "framework URL" without having to include an action. He sets up a route with a wildcard to catch anything for that controller and passes it off to a custom router that goes through the request values and returns the values as though they were formatted normally in the URL.
Continue ...
Created: 16-03-2009.
Readers this month: 0 - Readers total: 7::
Tags:   Echolibre    Blog:    Customising    Zend    Framework    Routing
Echolibre Blog: Customising Zend Framework Routing
Rating: 0.00 (0 votes) 
On the echolibre blog J.D. has made a new post looking at Zend Framework routing and how you can customize it to get the user where they need to go. I wanted to write a post that shows a few different ways to customise Zend Frameworks routing when you're using their MVC implementation. Most of this is covered in the documentation, but it can be a little difficult to dig out. He starts with the normal routing setup (the standard /module/controller/action and /controller/action setups) and moves on to the "magic" - a way to have a standard "framework URL" without having to include an action. He sets up a route with a wildcard to catch anything for that controller and passes it off to a custom router that goes through the request values and returns the values as though they were formatted normally in the URL.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Christian Stocker's Blog: Upload Progress Meter for Windows - The next take
Click here for details, rating, comments and other features
Christian Stocker has posted about "the next take" on the PHP upload progress meter extension - a new version that plays a bit nicer on Windows than before. The uploadprogress extension for PHP never really worked on Windows and since I don't have a Windows development environment I could never do a proper analysis of the problem. Until this week, when Tomas Holusa sent me an email telling me about some VCWD_RENAME problems on Windows. A patch that was submitted a while back confirmed the issue and a new patch was written and submitted to take care of the problem. You can try out the new extension on Windows with either the normal Wind32 build or Win32 nts build.
Continue ...
Created: 16-03-2009.
Readers this month: 0 - Readers total: 10::
Tags:   Christian    Stocker's    Blog:    Upload    Progress    Meter    for    Windows    The    next    take
Christian Stocker's Blog: Upload Progress Meter for Windows - The next take
Rating: 0.00 (0 votes) 
Christian Stocker has posted about "the next take" on the PHP upload progress meter extension - a new version that plays a bit nicer on Windows than before. The uploadprogress extension for PHP never really worked on Windows and since I don't have a Windows development environment I could never do a proper analysis of the problem. Until this week, when Tomas Holusa sent me an email telling me about some VCWD_RENAME problems on Windows. A patch that was submitted a while back confirmed the issue and a new patch was written and submitted to take care of the problem. You can try out the new extension on Windows with either the normal Wind32 build or Win32 nts build.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment

Juozas Kaziukenas' Blog: Debugging with FirePHP and Firebug
Click here for details, rating, comments and other features
In this new post Juozas Kaziukenas takes a look at a very useful debugging tool that can help keep your debug messages and errors out of your page and into a proper debugger - FirePHP (an extension of Firebug). One may debug his application with print(") statements all other the place or alert(") for JavaScript. Luckily some years ago Firebug extension for Firefox was introduced, which introduced (?) console. Console works absolutely the same as in Linux and can be used not only to execute commands, but receive information from various sources. He shows what the output looks like both on the interface side (in the Firefox plugin) and in the HTTP headers that are sent back along with the web server's response. Some frameworks even have components that let you interface with it directly.
Continue ...
Created: 16-03-2009.
Readers this month: 0 - Readers total: 8::
Tags:   Juozas    Kaziukenas'    Blog:    Debugging    with    FirePHP    and    Firebug
Juozas Kaziukenas' Blog: Debugging with FirePHP and Firebug
Rating: 0.00 (0 votes) 
In this new post Juozas Kaziukenas takes a look at a very useful debugging tool that can help keep your debug messages and errors out of your page and into a proper debugger - FirePHP (an extension of Firebug). One may debug his application with print(") statements all other the place or alert(") for JavaScript. Luckily some years ago Firebug extension for Firefox was introduced, which introduced (?) console. Console works absolutely the same as in Linux and can be used not only to execute commands, but receive information from various sources. He shows what the output looks like both on the interface side (in the Firefox plugin) and in the HTTP headers that are sent back along with the web server's response. Some frameworks even have components that let you interface with it directly.                                                                                                  
Complete article
Details
Tell a friend
PDF
Comments: 0
Enter comment