 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Josh Holmes' Blog: Hello World Azure in PHP
by Chris Cornutt February 11, 2010 @ 13:25:56
For anyone wanting to take those first steps into running PHP applications on an Azure platform, you should check out a new post from Josh Holmes. He describes the process of getting it working from a command-line approach.
I thought we could kick it up a notch [from his previous post] and get PHP running in Azure leveraging the command line tools. The primary thing that we need to do is to copy the PHP bits up with the rest of your deployment and configure the FastCGI handler to know where the PHP interpreter can be found.
Once you get PHP installed testing it out is just a matter of getting his test page in the right directory, updating one of the configuration files (web.roleconfig), creating the Config/Definition files and packaging it all up with cspack. All of the contents for the sample configuration files and a screenshot of the fnal output are included.
voice your opinion now!
helloworld azure microsoft tutorial
Zend Developer Zone: A PHP 'Hello World' Script Using Zend Core for i5
by Chris Cornutt September 24, 2009 @ 08:16:32
New on the Zend Developer Zone is a tutorial showing a "Hello World" setup, configuration and testing of the Zend Core for the IBM i5 series from start to finish.
You've successfully installed the Zend Core for i5. Now what? The process of developing PHP scripts may not be obvious to System i developers familiar with RPG and COBOL. Let's take a look at the basic steps needed to start writing PHP scripts on System i.
They look at where the parts of the application are located, the steps to take to ensure it's running correctly, setting up Zend Studio and a personal development space and creating two simple scripts - one "Hello World" and the other that makes a DB2 connection to the local instance.
voice your opinion now!
helloworld zendcore i5 ibm tutorial
Abhinav Singh's Blog: PHP Extensions - How and Why?
by Chris Cornutt December 12, 2008 @ 11:17:23
Abhinav Singh has posted a guide to PHP extensions - what they are and how to write a simple "hello world" one.
Assuming you have read the previous post, lets discuss on how to build our first PHP extension: every PHP extension is built out of minimum of 2 files, a configuration file (config.m4) which tells us what files to build and what external libraries are needed and source File(s) which will contain the actual functionality.
He builds up an example skeleton for an extension (the config.m4) and explains how the file will be phpized and configured. Next up is the php_sample.h header file where the needed modules are loaded and the sample.c file to define them. Last, but not least, comes the extension code itself that calls the printf function to output the "hello world" message.
voice your opinion now!
extension tutorial header file config phpize helloworld
Marc Gear's Blog: How to learn a new PHP framework
by Chris Cornutt December 11, 2008 @ 10:20:28
In this new blog entry Marc Gear suggests a few things that you can do to help learn a new framework quickly and easily:
There are dozens of PHP frameworks around now, some attracting more attention than others. I am no expert on these frameworks and have not used a single one extensively so I wouldn't dream of recommending one over the other, nor do I want to enter the debate about what is or is not a framework (I'll work on the assumption that anything calling itself a framework is a framework). Instead I'm going to concentrate on how you can get started with a new framework as quickly as possible.
He suggests four examples that can help you get more familiar with each framework and how they're structured - a "hello world" as a first step, creating a simple calculator, making a guestbook and making a simple script to parse and paginate a remote RSS feed.
voice your opinion now!
learn framework helloworld calculator guestbook rss parse page
Paul Jones' Blog: Labor Day Benchmarks
by Chris Cornutt September 02, 2008 @ 07:56:01
Since there was such a good response to his previous framework benchmarking post, Paul Jones has come up with a fresh batch of statistics for the latest versions of several frameworks including the Zend Framework, Solar and CakePHP.
By popular request, here is an update of my web framework benchmarks report. [...] In the interest of putting to rest any accusations of bias or favoritism, the entire project codebase is available for public review and criticism here.
Follows the same methods as before, creating "hello world" controllers in each and running the stats against them with the Apache ab tool. A baseline non-framework example is created and tests are run against different versions (including release candidates) of each framework.
I won't spoil the results - you'll just need to check out his post to see who ranked where.
voice your opinion now!
framework benchmark ab helloworld response
Avent Labs Blog: PHP framework comparison benchmarks
by Chris Cornutt July 02, 2008 @ 08:41:42
The Avent Labs blog has done some basic benchmarking on some of the more popular PHP frameworks out there today. The post includes the tools they used and the full results.
In response to Wil's comment regarding the PHP framework performance comparisons I made in my previous post, I have decided to post the results I got. My decision not post them initially was due to the benchmarks not being done in complete isolation (a separate client and server machine) but the scores relative to each should still be accurate and that's what I am testing for.
He used a machine with a 1.8Ghz sempron chip (running Ubuntu) to run the tests through httperf. His method involved creating the same sort of "hello world" sort of controller to gauge the framework's performance and a baseline procedural version of the same as a guide. His full results are available as a tar file and as a zip archive.
voice your opinion now!
aventlabs benchmark framework helloworld statistics download
Symfony Blog: Batches are dead, long life to tasks!
by Chris Cornutt June 16, 2008 @ 12:05:36
On the Symfony blog today, Romain Dorgueil shows how to create tasks to help automate things in your application like database updates, console scripts or other "repetitive maintenance tasks".
Symfony 1.1 extends symfony 1.0 pake tasks to create a powerful and uniform command line utility for your projects, fully integrated with the symfony Command Line Interface (CLI).
This means that is has the abilities to automatically support a "help" parameter, to grab a current task list the app is using, correct handling of the input parameters, set up a good environment and make sure that the source is readable. The post shows how to create a new task for your application - their examples are a "doNothingTask" that, well, does a lot of nothing and the typical "doHelloWorldTask" that just echoes.
They show how to define the task (including a namespace for it) and how to run it, outputing the results of the execute() method ("I did nothing successfully!" in the first case and a string of passed in parameters in the second.
voice your opinion now!
task batch tutorial symfony framework helloworld
SitePoint PHP Blog: A PHP Guy's Look At Python
by Chris Cornutt May 09, 2008 @ 08:48:46
Focusing on PHP day in and day out is nice, but sometimes it's good to branch out a bit. Kevin Yank agrees and decided to give Python a try. He's written up this post to the SitePoint PHP blog as he explores the language from a PHP developer's perspective.
Like may SitePoint readers, I cut my teeth on PHP. I've become very comfortable with it over the years, warts and all. PHP continues to be a dependable choice, but PHP hasn't changed a whole lot lately. [...] Python has a lot in common with PHP: it's a dynamically typed, open source scripting language with excellent documentation and a thriving community around it.
He includes a few basic "Hello World" kinds of examples in Python just to introduce you to the language structure (indenting for code structure? that's crazy talk for us PHPers) and some of the handy features of the language like sequences and the language's automatic namespace support.
voice your opinion now!
python introduction compare language helloworld
|
Community Events
Don't see your event here? Let us know!
|