 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPFreaks.com: Sessions and cookies Adding state to a stateless protocol
by Chris Cornutt June 05, 2008 @ 12:05:11
On the PHPFreaks website, there's a new tutorial talking about sessions and cookies in PHP:
HTTP is a stateless protocol. This means that each request is handled independently of all the other requests and it means that a server or a script cannot remember if a user has been there before. However, knowing if a user has been there before is often required and therefore something known as cookies and sessions have been implemented in order to cope with that problem.
The tutorial is pretty introductory, so if you're not new to the PHP world, you won't learn much. New developers, though, will learn how to set cookies, use sessions and learn a bit about the security of both.
voice your opinion now!
session tutorial introduction cookie state stateless protocol http
DevShed: Implementing Internet Protocols with PHP
by Chris Cornutt June 04, 2008 @ 09:32:22
On DevShed today, there's a new tutorial on showing how to create a simple application to use one of the simpler protocols - FTP.
PHP has many functions that help us to implement Internet and/or networking protocols. In this article, we will look at how to implement some of those protocols using PHP.
They introduce the FTP functions for PHP (a basic list, PHP manual style) and include the code - the CSS to make it easier to use and the PHP code to make the FTP connection and grab the remote file listing. A screenshot is included to give you an idea of the end result.
voice your opinion now!
tutorial ftp protocol application css remote file list
SitePoint PHP Blog: Debugging PHP (Spectator)
by Chris Cornutt June 02, 2008 @ 11:16:50
In a new post to the SitePoint PHP blog Troels Knak-Nielsen gives a check up for a project he's worked some on - an interface he came up with to talk, via the dbgp-protocol, to a XUL frontend.
Spectator is a XUL application, which should make it cross platform. I have tinkered a bit with XUL before, but not a full application. [...] So what can spectator do? Mind that this is a first version and I really just meant it as a proof of concept. I think I got a bit further than that, but it probably still has a few bugs. Still, with the current version, you can step through a program, set breakpoints and inspect the stack. Really all you would expect from a debugger.
You can grab the latest version from the subversion repository on the Google Code website.
voice your opinion now!
spectator xul application debug dbgp protocol
Guy Harpaz's Blog: PHP IDE Debug Protocol
by Chris Cornutt May 19, 2008 @ 07:57:45
In a new post on his blog, Guy Harpaz answers a few questions people have been having about the debugger protocol that the PHP IDE project uses.
Debugging a PHP application or a PHP web server requires connectivity between an IDE and a Debugger engine (a PHP module which is installed on the web server). The debug protocol defines this connection. [...] When the Eclipse Foundation approved the PHP IDE project, Zend Studio's debug protocol was opened source and was chosen to be the debug protocol of the PHP IDE project.
He goes through why they made the choice, touches a bit on the security aspect of the two debugging protocols he mentioned (DBGp and Zend Studio's) as well as their common methods for output.
voice your opinion now!
ide protocol debugger zendstudio dbgp opensource debug
WebReferece.com: How to Use the HTTP Protocol
by Chris Cornutt May 22, 2006 @ 06:09:55
It's one of the most base aspects of the internet and helps to connect users to the resources they're searching for, but it's surprising how many developers out there don't know how to work with it directly. WebReference.com is here to help with that in their new tutorial looking at the basics of the HTTP protocol.
The article is actually an excerpt from the Sams book "Teach Yourself Ajax in Ten Minutes", but it's one of the better overviews that I've seen. It introduces what HTTP is and some of the base components (request, response, formats, etc). There are brief code examples along the way to help with formats of things like the headers sent back and forth.
They move on to the status codes that can be returned and what each means. With the basic knowledge of a message format under your belt, they get into an example - working with GET and POST requests via a simple form (and what it's sending).
voice your opinion now!
php use http protocol basics tutorial get post form status codes php use http protocol basics tutorial get post form status codes
Guy Harpaz's Blog: PHP IDE Debug Protocol
by Chris Cornutt May 11, 2006 @ 06:17:30
Guy Harpaz, the product manager for Zend Studio, has sterted a new blog up today, and has already posted his first item, a look at PHP IDE debug protocols and why to choose Zend's.
Lately there were many questions and comments on blogs and in PHP related forums regarding the debugger protocol, which will be used in the PHP IDE project at Eclipse.org.
When the Eclipse Foundation approved the PHP IDE project, Zend Studio's debug protocol was opened source and was chosen to be the debug protocol of the PHP IDE project. Zend Studio was known for its debugging capability and it is considered one of its big advantages, therefore, the decision to open source the protocol was obviously a big decision.
He follows this with two reasons to make the choice of Zend's offering, and includes two more topics looking at the differences between the two main protocols (DBGp and PHP IDE debug).
voice your opinion now!
php ide debug protocol dbgp eclipse zend studio php ide debug protocol dbgp eclipse zend studio
|
Community Events
Don't see your event here? Let us know!
|