 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
NetTuts.com: Rapid Application Prototyping in PHP Using a Micro Framework
by Chris Cornutt September 06, 2011 @ 09:56:57
On NetTuts.com today there's a new tutorial posted about using a microframework for prototyping an application you may not need a full stack framework to get running. Their examples are based on the Slim framework.
Let's face it: we all have great ideas for a web application. Whether you write them down on paper or remember them using your eidetic memory, there comes a point when you want test whether or not your idea is really viable. In this tutorial, we'll use a micro framework, a templating language and an ORM to rapidly develop an application prototype.
There's an introduction to help you get Slim, some extras, Twig templating and Paris and Idorm set up and working happily together. There's code included for bootstrapping the application, creating a few routes, building models and using them to pull data from the database. They also create an "admin" area for their sample blog application, building an "add article" form and protecting it with a simple login system. You can download the source if you'd like to see it all working together.
voice your opinion now!
microframework tutorial rapid prototype slim twig paris idiorm
Lorna Mitchell's Blog: A Prototype API for Joind.in
by Chris Cornutt May 17, 2011 @ 12:37:32
Lorna Mitchell has posted about an API release she's made for the Joind.in website today - the first stages of a completely reworked version of the site's API.
Following the principle of "release early, release often", I put live a very early version of the v2 API for joind.in today (so that I can use it in another project!). I haven't updated the documentation yet but in case anyone was thinking of consuming data from joind.in, this at least gives you an idea of the direction of the project so I thought I'd share.
The new service is RESTful and has a few working features already including fetching event and talk details, pagination and multiple output formats. You can find samples of the output here and here. If you're interested in seeing the source so far, check out the github account for Joind.in (and maybe even clone a copy).
voice your opinion now!
prototype joindin api version rest
php|architect: It's not all about the code
by Chris Cornutt March 10, 2010 @ 10:47:23
In a recent (quick) post to the php|architect site Koen Van Urk reminds us that it's not all about the code, there's planning to consider too.
Sure, it is important to have your code as bug free as possible, well documented and as optimized as possible. It is, however, impossible to achieve this all without prior planning. Good project coordination.
He suggests one of the most useful and reliable forms of planning and defining the requirements for an application - writing them down on a normal piece of paper. Then from there let the ideas flow with things like look and feel, mapping out page structure, etc. Website planning tools are good, but when it comes down to basic prototyping, sometimes there's just nothing better than a pencil and a few sheets of plain white paper.
voice your opinion now!
opinion prototype planning paper
PHPInfo: Add Sting to PHP Apps with WASP Patterns
by Chris Cornutt September 26, 2008 @ 11:19:56
In this new post to the PHPInfo site, Brian Fioca takes a look at the WASP framework and how it can help you develop your applications quickly.
In this article I will demonstrate the power and simplicity of developing PHP applications using the WASP Framework through the illustration of a simple user module design pattern. The example code will encompass the creation of a user account and subsequent login validation. In the course of this discussion, we will cover the creation of the three tiers of the application- model, view, and controller-and introduce a simple approach to using AJAX to save application form data and present flexible user interfaces.
The provides the code and database structure to make the application work, including the "touch of Ajax" made using the Prototype Javascript library.
voice your opinion now!
wasp application framework tutorial contructor model view prototype ajax
IBM developerWorks: Build Ajax-based Web sites with PHP
by Chris Cornutt September 04, 2008 @ 11:19:02
The IBM developerWorks website has a new tutorial for those looking to get into the powerful combination of Ajax and PHP - an introduction to creating Ajax-based websites with PHP.
Learn the process of writing Asynchronous JavaScript + XML (Ajax) applications using native JavaScript code and PHP. This article introduces a few different frameworks and application program interfaces (APIs) that reduce the amount of code you need to write to achieve a complete Ajax-based Web application.
They (briefly) explain what Ajax is and the benefits of it before jumping right in to a sample page. They go for the "manual first" approach so developers know to make basic connections with the XMLHttpRequest object and handle the responses. They do mention some of the libraries offered that help with the connections too (like jQuery, Prototype and Dojo).
voice your opinion now!
ibm tutorial ajax website manual xmlhttprequest jquery dojo prototype library
PHPBuilder.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2
by Chris Cornutt May 05, 2008 @ 07:58:21
PHPBuilder.com has continued their series looking at building an Ajax-driven shopping cart with part two posted today (part one here). Last time they laid the PHP foundation for the example app, this time they add another layer - the Ajax functionality to manage the current contents of the cart.
Finally, a link to the shopping cart is provided, although you could just as easily have displayed the cart contents on the same page. For the sake of brevity I'll just show you how to integrate the add feature, and will leave the subtraction mechanism to you as an exercise.
The Ajax frontend calls a managecart.php backend file that calls addToCart and deleteFromCart based on which type of "task" is passed to it.
voice your opinion now!
shopping cart prototype tutorial ajax backend javascript
PHPBuilder.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype
by Chris Cornutt April 29, 2008 @ 08:48:31
On PHPBuilder.com today there's a new tutorial posted showing how to combine the Javascript power of Prototype along side PHP's adaptability to create a simple, ajax-driven shopping cart for your site.
In the latest installment of this ongoing PHP series, I'll show you how to build a shopping cart using PHP, session handling, and the Prototype JavaScript library. The cart allows users to add and delete products from the cart, as well as change cart quantities. And of course, the interaction is seemingly instantaneous, allowing for the user to continue shopping without waiting for the page to reload.
They start from the ground up - making the database tables, inserting some data - before writing up the simple PHP class with methods like deleteFromCart and getCart. This lays the foundation for the next article in the series where they add in a splash of ajax to make it a bit more user-friendly.
voice your opinion now!
shoppingcart ajax prototype tutorial series
|
Community Events
Don't see your event here? Let us know!
|