Lastest News from DZone PHP
Really Simple Model/View Seperation With PHP
I think I speak for a number of developers when I say that I strive to have my code readable and easy to maintain. This is way easier said than done as many of you know. The most familiar way of doing this is using the Model View Controller (MVC) concept. While I see the point in the above, I do sometimes struggle with its practicality. For example, do I really need to use CakePHP, Symfony, CodeIgniter for a simple PHP based site? I agree that frameworks can be handy for larger sites, but the majority of my sites are on the smaller side.
Read More >
Mysql Tutorial – Insert data in to table
If you are a learner (new) in PHP / Mysql and don’t know how to insert / add data in to table in Mysql database from php file than Here is the easiest and error-free way to insert / add data in to table in Mysql database. More see with an example...
Read More >
Advance Level PHP Tutorials & Scripts
Advance Level PHP Tutorials & Scripts with demos and Sources
Read More >
Different “Read More” Link For Different Categories
As you can see here on wpcanyon, the “read more” links have different text depending on the category of the posts. Here is how to do that.
Read More >
Neural Networks in PHP
This article explains how to easily implement Neural Mesh to develop Neural Network applications in PHP.
Read More >
Practical Php Patterns: Observer
Today's pattern is the Observer one. The intent of this pattern is breaking a [usually one-to-many] dependency between objects by making the set of objects act as Observers of a Subject one, which notifies them when its state changes or is affected someway. The result of the application of the Observer pattern is an effective reduction of coupling: often notifications are sent to disparate objects which are thus prevented to becoming entangled.
Read More >
2 Different Ways For Getting Twitter Status / PHP and jQuery
Nearly everyone who has a website and a twitter account shows their status on the website. Here are 2 different ways you can use to get the status and show it on your website.
Read More >
Q&A with Jason Gilmore: The Zend Framework
This week's DZone Refcard is about Getting Started with the Zend Framework. The card introduces you to the basics of the Zend Framework and sets you on the path to creating your first project. I met the author, Jason Gilmore, to find out more about the topic.
Read More >
Getting Started With PHPUnit
We all agree that testing code is better than not testing it right? So why do we tend to avoid writing unit tests to make sure that we are writing code that works? I’m looking at you PHP guys. Good thing there is PHPUnit and it is as easy as can be to get started with it.
Read More >
Static methods vs singletons: choose neither | php|architect
This article provides a nice summary of the debate(s) surrounding the static method vs. singleton debate in PHP development. It suggests Dependency Injection as a solution that should reduce or eliminate singleton usage in PHP development. It's a quick, fresh read on a well-worn issue.
Read More >
How to Use jQuery With Other Libraries Like Prototype and MooTools
Hello Friends, There are so many javascripts libraries available in web world like jQuery, prototype, moo tools which having so many functionality and so many features available to make site attractive. But sometime when we need to use two or more libraries together to achieve some functionality, they conflicts with each other. So to avoid conflict with each other we have to override variable used in library with other variable name.
Read More >
Mysql Tutorial – create table in database
If you are a learner (new) in PHP / Mysql and don’t know how to create table in Mysql database from php file than Here is the easiest and error-free way to create table in Mysql database. see more with an example..
Read More >