| php|architect: Ext4Yii, bridging PHP and JavaScript frameworks together |
Rating: 5.00 (2 votes)
On the php|architect blog today there's a new post about a framework that joins together two others (ExtJS and Yii) to make for an even more powerful combo - Ext4Yii.
Ext4Yii is essentially a bridge between these two projects, which aims to integrate Ext JS as an extension for Yii. Ext4Yii is implemented as a templating system, which consumes XML models where you define widget elements like buttons or handlers (in embedded JavaScript code which can take advantage of Ext-powered methods and objects).
This templating system integrates directly with the Yii framework's structure and gives you access to a lot of the ExtJS objects without the need for multiple calls to .js files. The tool also comes with a bundled plugin for Netbeans that can help you get started quickly (rather than having to work out the syntax by hand from the start).
|
|
|
|
 |
| Basic Tests for Forum Implementation |
Rating: 0.00 (0 votes)
In this second part of a four-part series on setting up a forum in Ruby on Rails you ll learn how to unit test a model generate a forum controller and view and more. This article is excerpted from chapter six of the book em Practical Rails Projects em written by Eldon Alameda Apress ISBN 159 597818 ....
Windows 7 Deployment in Your Future? Free Guide: IT Tips & Best Practices for a Simplified Migration to Windows 7. |
|
|
|
 |
| Forum Implementation |
Rating: 0.00 (0 votes)
Setting up a forum is a great way to keep your customers interested and get feedback on what you re doing. This article the first part of a four-part series will show you how to set one up for an online bookstore using Ruby on Rails. It is excerpted from chapter six of the book em Practical Rails Projects em written by Eldon Alameda Apress ISBN 159 597818 ....
Test Drive the Next Wave of Productivity Find Microsoft Office 2010 and SharePoint 2010 trials, demos, videos, and more. |
|
|
|
 |
| Adding an RSS Feed to an Online Book Catalog |
Rating: 0.00 (0 votes)
In this conclusion to a three-part series on building an online book catalog application with Ruby-on-Rails we ll finish creating the search ability and add both a regular page and an RSS feed that lets users see the latest book titles to arrive at the store. This article is excerpted from chapter four of the book em Practical Rails Projects em written by Eldon Alameda Apress ISBN 159 597818 ....
Cloud Servers in Demand - GoGrid Start Small and Grow with Your Business. $0.10/hour |
|
|
|
 |
| Browsing and Searching an Online Book Catalog |
Rating: 0.00 (0 votes)
In this second part of a three-part series on building an online book catalog in Ruby-on-Rails you ll learn how to set up the application to allow users to view book details and search for books. This article is excerpted from chapter four of the book em Practical Rails Projects em written by Eldon Alameda Apress ISBN 159 597818 ....
Download a Free Trial of Windows 7 Reduce Management Costs and Improve Productivity with Windows 7 |
|
|
|
 |
| Building an Online Book Catalog |
Rating: 0.00 (0 votes)
Now that we ve built an online bookstore application in Ruby-on-Rails it s time to serve our customers by building a book catalog of the store that they can use for browsing viewing book details searching for books and finding out about new titles at a glance. This article the first in a three-part series is excerpted from chapter four of the book em Practical Rails Projects em written by Eldon Alameda Apress ISBN 159 597818 ....
AutoCAD LT® 2011 Trial Try The New AutoCAD LT® And Benefit From Consistent 2D Drafting Focus. |
|
|
|
 |
| Gennady Feldman's Blog: Leveraging Oracle connection metadata functionality |
Rating: 0.00 (0 votes)
Gennady Feldman has a new post to his site looking at a feature of the Oracle connection functionality that comes with PHP's integration with the powerful database - metadata functionality.
Now with OEM finding what the query is is really easy (you might need to buy Oracle Performance pack to monitor vitals and performance information). So you know which query caused the spike. Do you know where that query is in your application code? [...] You already have a ton of applications written, having to go through every query to add this meta information is a ton of dev effort. What do you do?
He's found a way to help solve the problem - you can use a few handy functions to let you set some more information about the connection. These settings can give you more information about the client, a client identifier, module information and what action or function is performing the query. This information can then be queried in via the V$session variable on the server side.
|
|
|
|
 |
| Keith Casey's Blog: Event Driven Programming |
Rating: 0.00 (0 votes)
In a new post to his blog today Keith Casey talks about something that might be a bit foreign to some PHP developers out there event driven programming. He relate it to the Flex world where it's more commonly used.
When you initially dive into the world of Flex development, most PHP'ers will quickly notice something weird. We're out of the world of Request/Response that we know and understand and into an odd world of Events, Listeners, and Publishers/Subscribers where things just don't play well together.
He talks about the Observer design pattern and how it works to provide an interface to other objects who are listening in and waiting for events to happen (he uses an airline analogy). He also gives a more concrete illustration - uploading a file - and how the events would be used to handle each part of the process.
|
|
|
|
 |
| Brandon Savage's Blog: Revisiting: Why Every Developer Should Write Their Own Framework |
Rating: 0.00 (0 votes)
In a recent post to his blog Brandon Savage revisits one of his older posts taking about why he thinks every developer should write their own framework. In this more recent post that brings up another idea - people who write frameworks together are very smart.
I've always known that a group of very committed people could be much more effective at producing a good product than I could be on my own, and for a simple reason: the collective mind usually irons out ideas that work much more quickly than a solitary developer or thinker. [...] The point of this article is to encourage developers to experiment, but remind them that at the same time, there are already existing solutions that work exceptionally well for many if not most needs.
He still recommends developing a framework as a learning tool, but maybe not to use in production applications. There's bigger, more well-developed frameworks out there that can do the job and have the benefit of a "hive mind" of talented developers with perspectives you might not even think of.
|
|
|
|
 |
| PHPBuilder.com: Use PHPUnit to Implement Unit Testing in Your PHP Development |
Rating: 0.00 (0 votes)
On PHPBuilder.com today there's a new tutorial introducing PHPUnit, the popular unit testing framework (based off the ideas from JUnit). Jason shows how you can use it to make a more robust and easier to maintain application.
We are creating web applications, with one important difference between the two being that the latter are built using a rigorous process, and with that, a rigorous testing program. [...] The PHP community has long had a great testing utility at their disposal known as PHPUnit, and in this tutorial I offer a brief introduction to its benefits.
He shows how to get it installed (via PEAR), writing up a first unit test to check for the contents of a string (making HTML) and executing the test to verify the outcome. He aso mentions something interesting you can use when you need to send a lot of information over to a test - providers.
|
|
|
|
 |
| NETTUTS.com: Why you Should be using PHP's PDO for Database Access |
Rating: 0.00 (0 votes)
According to this latest tutorial from NETTUTS.com, you should be using PHP's PDO database access layer to interact with your database of choice.
Many PHP programmers learned how to access databases by using either the mysql or mysqli extensions. Since PHP 5.1, there's been a better way. PHP Data Objects (PDO) provide methods for prepared statements and working with objects that will make you far more productive!
The introduce what PDO is, what kind of databases it supports and, of course, some code to get you started in connecting your application to the backend. They show how to handle exceptions, how to use placeholders, and performing inserts and selects on your data.
|
|
|
|
 |
| Site News: Blast from the Past - One Year Ago in PHP |
Rating: 0.00 (0 votes)
Here's what was popular in the PHP community one year ago today:Ask About PHP Blog: Google Analytics API class for PHP
Symfony Blog: The new Getting Started tutorial
Matt Curry's Blog: Connecting CakePHP Plugins
ITNewb.com: PHP Encryption / Decryption Using the MCrypt Library (libmcrypt)
PHPClasses.org Blog: Book Review: Pro PHP: Patterns, Frameworks, Testing and More
Coders' View Blog: The Strategy Pattern Using PHP
Wenbert Del Rosario's Blog: Zend Framework: Making the Built-in Breadcrumb Helper Work
Adam Jensen's Blog: Distributing Zend Framework Modules
PHPFreaks.com: or die() must die
Stefan Mischook's Blog: PHP Video: the Zend Framework and Web 2.0
Community News: PHP.JS gets a new home (and compiler)
Learn.IIS.net: Build a High-Performance PHP Stack with Windows IIS and Zend Server
TheWebSqueeze.com: PHP5 Abstraction for the Rest of Us
NETTUTS.com: How to Set Up a Killer WordPress Testing Environment Locally
Community News: Guide to Date and Time Programming (php|architect)
|
|
|
|
 |
| Symfony Blog: New symfony book: "A Gentle Introduction to symfony 1.4" |
Rating: 0.00 (0 votes)
On the Symfony blog there's a recent post about a new book from the Sensio Labs group looking to help you ease into using Symfony - A Gentle Introduction to symfony 1.4.
People keep asking me about when we will publish the "definitive guide" book for symfony 1.4. We already have quite an extension documentation on symfony, but the definitive guide has a different way to teach you symfony that is best suited for some people. So, in the last few months, I have updated it to match the current version of symfony.
This new book includes a few things that some of the others don't like some time spent describing the philosophy of the framework and chapters for each feature of the framework (so that finding the documentation you're looking for is easier). You can get the book in print from Amazon or you can read it online for free.
|
|
|
|
 |
| Sean Coates' Blog: PHP 5.3 on Snow Leopard |
Rating: 0.00 (0 votes)
Due to the popularity (and age) of his previous post about compiling PHP 5.3 on Snow Leopard (OS X), Sean Coates has written an updated post showing some of the changes to the process that the updated OS version has brought with it.
I've been meaning to post instructions on how to compile PHP for Snow Leopard since last summer when I picked up the DVD, but hadn't found the time or opportunity to build PHP from a completely fresh start, until a few weeks ago. This time, I took notes on how to reliably compile PHP and Apache from scratch on this system.
He's made a six step process that includes installing Xcode, Homebrew, your own version of iconv, support for whatever dependencies you might still need and, of course, Apache/PHP.
|
|
|
|
 |
| Community News: TEKX 2010 Wrapups |
Rating: 0.00 (0 votes)
In the wake of this year's TEKX conference (held in Chicago lat week) several of the PHP community members that were able to attend have posted summaries of their time there. Here's the list so far:
Lorna Mitchell
Michelangelo van Dam
Ligaya Turmelle
Chris Hartjes
Bradley Holt
Garrison Locke
Rich Bowen
Jason Austin
If you were able to attend TEKX this year and have a post you don't see on this list, let me know and I'll get it added!
|
|
|
|
 |
| Gennady Feldman's Blog: Oracle query validation |
Rating: 0.00 (0 votes)
Gennady Feldman has put together a new post for his site today looking at a recent situation he had with validating SQL queries for use with an Oracle database.
So we got an interesting use case at work where we have an admin interface to setup filters in our system. Our staff is able to enter expressions in the web interface and we have a way of checking that whatever they enter is valid or not. While trying to optimize the validation code to do stricter checking with lower overhead I ran into a little gotcha. oci_parse() function doesn't actually do validation. This was a huge surprise to me and something I didn't grok.
Frustrated by the fact that the oci_parse function didn't seem to really do much more than bind variables and prepare the SQL for insert, he searched until he came across an interesting optional flag for oci_execute, OCI_DESCRIBE_ONLY. This flag returns some explain information by default and, if the query is invalid, returns an error.
|
|
|
|
 |
 |
 |
| Organize Your Project like a Pro with PHP Namespaces |
Rating: 0.00 (0 votes)
PHP took a huge step forward in June 2009 with the release of version 5.3. It wasn't quite as big of a change as version 5.0, but the release did introduce a number of new language features including namespaces — an addition that can dramatically improve the way you organize your PHP in an object oriented paradigm.
|
|
|
|
 |
| PHP Integration with Salesforce CRM |
Rating: 0.00 (0 votes)
If your primary clientele is small to medium business owners, as I imagine is the case for most professional developers these days, chances are you have developed custom applications that interact with Salesforce CRM. For those of you that have not had the delight of integrating with Salesforce, let's walk through the most common integration techniques.
|
|
|
|
 |