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

SitePoint PHP Blog:
Building a Web App With Symfony 2 Bootstrapping
October 16, 2013 @ 12:00:59

On the SitePoint PHP blog today Taylor Ren has started up a new series about building web applications with the Symfony 2 framework. In this first post he looks at one of the initial steps - bootstrapping (setting up) the framework and application.

In this series, I will capture a few key steps and some advanced techniques (image manipulation, pagination, dynamic contents, NativeQuery, etc) to help anyone who is considering using Symfony (note, to avoid future confusion, Symfony here refers to the Symfony 2, not the obsolete Symfony 1) as their PHP framework to develop a website.

This first part helps you get everything all set up - the latest version of the framework, Composer and checking for the default page to make sure everything's configured correctly. From there he starts to get into the "guts" of the application, introducing the MVC elements (entities), routing concepts and database configuration/integration.

0 comments voice your opinion now!
symfony2 series building application tutorial bootstrap

Link: http://www.sitepoint.com/building-a-web-app-with-symfony-2-bootstrapping/

Matthew Weier O'Phinney's Blog:
Why Modules?
May 01, 2012 @ 08:04:20

Matthew Weier O'Phinnney has a new post to his blog filling in some additional details behind a series he's been doing on modules in the Zend Framework v2 releases. In this new post he answers the question "why modules?"

I've blogged about getting started with ZF2 modules, as well as about ZF2 modules you can already use. But after fielding some questions recently, I realized I should talk about why modules are important for the ZF2 ecosystem.

He covers some of the history of the idea, starting with the MVC rework/refactor of the framework and the desire from several people to have self-contained components that could be native to a ZF app. ZFv1 made it work (kinda) with Zend_Application, but it was difficult so solving this became a main focus of ZFv2. He illustrates with a "building block" metaphor based on his current blog site (currently being refactored too).

This kind of building-block development makes your job easier as a developer - and allows you to focus on the bits and pieces that make your site unique. As such, I truly feel that modules are the most important new feature of ZF2.
0 comments voice your opinion now!
zendframework2 modules building block focus


Anthony Ferrara's Blog:
In Response To Building Secured Web Applications Using PHP - The Basics
June 28, 2011 @ 11:15:10

In a response to this post that introduced some basic security methods for your applications, Anthony Ferrara has posted some corrections and updates to the suggested methods, even pointing out where some of them are completely wrong.

Today an article popped into my feed reader that raise my eyebrows. The article's title is "Building Secured Web Applications Using PHP - The Basics". The summary of the item looked interesting, so I decided to open it up...What I found blew me away. It was filled with loads of bad information including some down-right wrong suggestions. Let me go through point by point and shed some light on the subject...

His response goes back through the original article by section header and explains either why the advice was bad and/or the more correct way to do things.

Security is not something you can learn in a page. It's not something that you can learn in a single book. It takes a lot of time and effort. It should not be trivialized into a simple "Do this and you'll be secure" style post. It sends the wrong message...
0 comments voice your opinion now!
building secure application basics response correction


Stefan Mischook's Blog:
Building Objects Video (Parts 1, 2 & 3)
September 10, 2007 @ 09:32:00

Stefan Mischook has release three new parts of his "Building Objects in PHP" video series:

  • Part 1 - This is a hands-on video where I hope the viewer will actually write code along with me. I want to stress that this video (like everything else on this site,) targets beginners .. not old PHP hacks.
  • Part 2 - In this video, we actually use the object we created in Part 1, in our PHP page.
  • Part 3 - In this video, I clarify a point I was trying to make in part 2. In a nutshell, I talk about why it makes sense to keep any page rendering code (HTML and CSS) out of your business logic classes.

Lots of other videos (on different topics too) are also posted on Stefan's website.

0 comments voice your opinion now!
building object video tutorial parts building object video tutorial parts


WebReference.com:
The Building Blocks Data Types, Literals, Variables, and Constants - Part 3
January 29, 2007 @ 11:44:00

WebReference.com has posted part three of their "Building Blocks" series - a look at data types, literals, variables, and constants.

In part three, they focus more on the last type of "block" in their list - the constant:

Some real-world constants, such as pi, the speed of light, the number of inches in a foot, and the value of midnight, are values that don't change. PHP not only provides its own predefined constants but lets you create your own. Using constants makes it easy to write and maintain your programs.

There's talk of the define() and constant() functions and a mention of some of the predefined and "magic constants" as well.

0 comments voice your opinion now!
building blocks variable constant define magic building blocks variable constant define magic


WebReference.com:
The Building Blocks Data Types, Literals, Variables, and Constants - Part 2
January 22, 2007 @ 09:52:00

WebReference.com has posted part two in a series looking at the "building blocks" that make up PHP and its use. This time, it's a look at the containers for your data - the data types, literals, variables, and constants.

They go through each, explaining what they are, how they're used and when you'd want to use them in your code. They explain the data types and how those fit with each "container" and some basic things like valid names and how to assign things correctly.

They even get get into working with variables from GET and POST requests as well as working with the scope of variables and getting the metadata about them (is it an integer? is it empty?)

0 comments voice your opinion now!
building blocks datatypes literals variables constants tutorial building blocks datatypes literals variables constants tutorial


PHPMac.com:
Building and Installing Apache 2.2.2 and PHP 5.1.4 on Mac OS X 10.4.6
May 11, 2006 @ 20:12:52

Just to keep things up to date, PHPMac.com has posted this new tutorial on getting Apache 2.2.2 and PHP 5.1.4 compiled and working on Mac OS X 10.4.6.

For anyone that has been wishing to switch to Apache 2 on their Mac, this is the time to do it. PHP 5 has also recently been updated to 5.1.3 and this tutorial describes in detail, the best method to both build and install these programmes on your Mac.

There's compile and install directives for each of the pieces of software, and even a question about libxml there at the end for those having installation issues with it.

0 comments voice your opinion now!
building installing apache osx configure building installing apache osx configure


PHPit.net:
Building an advertising system with PHP (Part 3)
December 19, 2005 @ 07:14:19

PHPit.net has posted the third part in their "Building an advertising system with PHP" series today.

Welcome to part 3 of the "Building an advertising system with PHP" series. In the previous parts (part 1 and part 2) I have shown you how to build your own advertising system using PHP and JavaScript. We've also added two extra features to our ad system and in part 2 we built a page to manage the ads as well. If you haven't read either part yet, I highly recommend doing so before reading this part.

In this part, the final part of the series, I will show you how to first track all kinds of statistics on each ad, and after that display neat graphs using PHP/SWF Charts. Let's get started.

Now that the front even of the system is all set up, they help you create the backend - gathering data, analyzing the traffic, and creating the graphs to map out the results. It'll require 0 comments voice your opinion now!
building advertising system part three building advertising system part three



Community Events





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


introduction interview language api podcast developer series wordpress community laravel install threedevsandamaybe list release application library configure code unittest framework

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