 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
NetTuts.com: HTTP The Protocol Every Web Developer Must Know - Part 1
by Chris Cornutt April 09, 2013 @ 10:56:28
On NetTuts.com there's a new tutorial about what they think is the one thing every web developer should understand - the HTTP protocol and how its used in web-based communications.
HTTP stands for Hypertext Transfer Protocol. It's a stateless, application-layer protocol for communicating between distributed systems, and is the foundation of the modern web. As a web developer, we all must have a strong understanding of this protocol. Let's review this powerful protocol through the lens of a web developer. We'll tackle the topic in two parts. In this first entry, we'll cover the basics and outline the various request and response headers.
They cover some of the basics of the protocol first including its statelessness, the concept of URLs and the HTTP "verbs" (like GET, POST and DELETE). They also briefly cover the HTTP response codes (ex. 200, 304) and the flow of the request and response to and from the web server. They also look at some of the basic HTTP headers and the actual low-level text formats of the requests/responses.
There's a section at the end of the post that links you to a few tools that you can use to view the HTTP messaging happening in your requests, some of which you might already have. They also briefly cover the use of HTTP in a few libraries - ExpressJS, Ruby on Rails and jQuery's Ajax handling.
voice your opinion now!
http protocol series basics headers statuscode verb request response
DevShed: Building Interpreter Classes with PHP 5
by Chris Cornutt April 03, 2007 @ 10:32:00
DevShed is starting off another design pattern series with part one of their look at the interpreter pattern - commonly used along with the Composite pattern to create more modular applications.
In this series, which is comprised of three articles, I'll provide you with numerous code samples showing how to implement this useful pattern, ranging from building a simple application for managing user information to creating a decent blogger.
As mentioned, their goal is to create a simple blogging application (eventually), but for now they just need to lay the foundation. They start with an introduction to the pattern via the creation of the User and UserServer classes. Next up is the creation of the UserInterpreter class to handle the requests and pass them along to the UserSaver. Finally, they show it in use, saving inputted user information into an array.
voice your opinion now!
designpattern interpreter class php5 tutorial basics designpattern interpreter class php5 tutorial basics
DevShed: Introduction to Using SQLite with PHP 5
by Chris Cornutt December 04, 2006 @ 13:59:32
DevShed has started a small series today that seeks to guide you through the world of SQLite as is interfaced through PHP5.
If you use PHP 5 to build web-based applications that access a database, you might want to consider SQLite. A "lighter" option than MySQL, this database may still suit your purposes if you don't need all of MySQL's bells and whistles. This three-part series covers many of SQLite's most useful features.
Their post today, part one talks about the basics of the protocol and how to get started with it in PHP5. Since it's enabled by default, the chances of it being on your installation are great. They only really look at grabbing data from the database in this part, saving pushing data back in for another time.
voice your opinion now!
sqlite php5 database fetch tutorial basics row sqlite php5 database fetch tutorial basics row
Alexander Netkachev's Blog: Practical PHP events
by Chris Cornutt October 24, 2006 @ 07:20:48
In his latest tutorial, Alexander Netkachev shows how to, with some of the simple PHP functions, create an event system for your script, complete with callbacks.
The way how events are raised and how listeners are attached on the events is a part of a core in many modern applications. It plays an important role in some enterprise design patterns (MVC, for example).
He starts with the basics of event handling - some of the terms and descriptions of basic functionality that any good event handler would have. He describes the most common setup of an event-interaction relationship. Then, it's on to the code, showing first three different ways to call functions (by name, by variable, and by callback).
He finishes it off with a functional example that responds to a a call to fireEvent (five times) and handles each by calling the function in the callback information (myFunction).
voice your opinion now!
event handline callback tutorial basics calling methods event handline callback tutorial basics calling methods
Tobias Schlitt's Blog: A Two-day Look at PHPWeekender
by Chris Cornutt October 09, 2006 @ 09:11:00
Tobias Schlitt has covered the PHPWeekender event that happened this past weekend in two new posts over on his blog:
Day one (10.07.06) saw the start of the meeting, and included a three hour tutorial session giving people a crash course to what PHP is and how it functions at a basic level. Pizza for lunch, then right back into the classes - more basics, some XML talk, and XML-RPC/REST/SOAP as well (two different tracks).
Day two (10.07.06) is described in this post along with a summary of how the event went and the feedback from those attending. Topics today included best practices, PHP5's advanced OOP features, "Enterprise PHP", and a final keynote.
Keep an eye out on the PHPWeekender website for complete information, slides, and examples from the event as well.
voice your opinion now!
phpweekender meeting tutorial slides talk basics advanced phpweekender meeting tutorial slides talk basics advanced
|
Community Events
Don't see your event here? Let us know!
|