 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Developer Drive: Creating a PHP User Survey Writing to Database Tables
by Chris Cornutt November 22, 2011 @ 14:54:03
On Developer Drive today they've posted the most recent article in a tutorial series showing you how to create a user survey that stores the results to a database table. In this latest tutorial, they show how to hook the current code into a MySQL backend.
In the first two parts of this series, we created the data layer that will hold the polling data and established methods for setting the variable values and reading from the database tables. In this part, we will build the methods that will write new polls and answers to the tables.
They include the code for an "addPoll" method that inserts the questions and answers for the polls. Their "editPoll" method updates the poll questions/answers and the "addVote" method does exactly like it sounds - adding a vote to one of the poll options. Also included are "deletePoll", "activatePoll" and "deactivatePoll".
voice your opinion now!
tutorial database table poll survey answers questions
Francois Zaninotto's Blog: Designing a CMS Architecture
by Chris Cornutt September 26, 2008 @ 08:49:37
A recent post from Francois Zaninotto has been getting a lot of attention recently. It's his look at what would be needed to design a complete CMS and the full architecture behind it.
When faced with the alternative between an off-the-shelf CMS or a custom development, many companies pick solutions like ezPublish or Drupal. In addition to being free, these CMS seem to fulfill all possible requirements. But while choosing an open-source solution is a great idea, going for a full-featured CMS may prove more expensive than designing and developing your own Custom Management System.
He breaks it up into sections that look at the hidden costs behind custom development, what components it takes, the environment to build in and some of the fundamental questions you need to ask before even getting started.
voice your opinion now!
cms design architecture environment cost component questions
Jacob Santos' Blog: Multitasking in PHP
by Chris Cornutt August 19, 2006 @ 15:23:43
In his latest blog post, Jacob Santos takes a look at a common request PHP developers hit after a while - is it possible to multitask processes/actions in php?
The ability to run two or more commands in parallel is totally sexy, but the Web is a different playing field and it doesn't make complete sense.
PHP loses control, once the output is sent and the connection is closed. Multithreading would probably make sense in streaming, but PHP already handles that for you where it makes sense for the function. Furthermore, mulithreading has its purpose in applications that continue to run and not something that closes and cleans up everything after the last command is issued.
He continues talking more about what multitasking is, a more real life example, the goods, the bads, and some of the issues that can come along with it. Finally, he suggests a feature to be added to the core of PHP - an "internal multitasking mechanism" to help aid these kinds of processes.
voice your opinion now!
multitasking common questions real world good bad multitasking common questions real world good bad
Syntux.net: PHP5 Certification Exam
by Chris Cornutt August 08, 2006 @ 06:09:42
With a "post-exam post" today, Jad has come back from the testing center fresh out of the new Zend PHP5 Certification exam with a few comments.
I just came back from the test centre; The exam was really great and joy to take, all topics were equally covered but if you are planning to book then I'd suggest not to make a general read but read in details about everything even stuff you aren't likely to use or you are not used to use in your daily dose of code.
He gives examples of questions of different types - syntax, general functionality differences, differences between PHP4 and PHP5, etc. He also specifically mentions some of the questions covering exceptions, SOAP, inferfaces, SimpleXML and more. He recommends reading up on pretty much every topic on their list.
voice your opinion now!
php5 certification exam taken topics questions php5 certification exam taken topics questions
KillerPHP.com: PHP Design Patterns - when should they be used?
by Chris Cornutt August 07, 2006 @ 06:21:35
On the KillerPHP.com website, there's a brief look at design patterns, specifically using them in PHP:
Since the release of PHP 5, the PHP world has slowly started to get into more advanced programming, things like object oriented concepts and the use of design patterns.
Stefan Mischook describes the patterns simply, as nothing more than standardized ways of solving common programming problems. He lists a few of the more well-known patterns and answers a few common questions developers have about them:
- When should you start learning and using design patterns?
- The dark side of design patterns (when should I use them?)
- What can we learn from Java's bad experience?
I love his final comment - it sums the design pattern experience up well:
I am not saying that design patterns are bad, I just think they should be used only in the right context: you don't need an 18 wheeler truck to move a chair...
voice your opinion now!
design patterns usage when questions introduction design patterns usage when questions introduction
|
Community Events
Don't see your event here? Let us know!
|