AtirJavid.com
webdev - Zend Framework Devzone
Mihai Corlan, one of Adobe’s platform evangelists, has written a rather exhaustive introduction to programming in Flex, specifically for current PHP developers.
When I did my first web project using Flex, boy oh boy, it was quite a switch! The clean separation between the client and the server, (the business logic on the client side in addition to business logic on the server side), client-side technology that is compiled instead of interpreted, two languages on the client, all these required a different mind-set from traditional web development. And this is my reason for writing this article. I want to share with you some of the things that are specific to Flex in relation to PHP. At the same time I want to introduce Flex by comparing it with PHP whenever this comparison makes sense.
He goes on to say that the point of this article is not to attempt to convert PHP users over to Flex. But simply that he sees Flex and PHP as choosing the ‘right tool for the job’ for different tasks.
This seems to be a great resource if you’ve been looking at adding Flex to your repertoire as a programmer either for fun or as part of a work project. The fact that it’s written to draw directly on your PHP experience makes it a must read for current PHP folks.
webdev - Zend Framework Devzone
Ralph Schindler has a new post to his blog today looking at using dynamic assertions with the access control component (Zend_Acl) of the Zend Framework.
Over the last two years, I've seen a variety of duplicate issues come into the issue tracker, which stem from two fundamental flaws in Zend_Acl [...] In this article, we'll explore the API changes that alleviate these two problems, and we'll demonstrate how to leverage the Zend_Acl assertion system to create expressive, dynamic assertions that work with your applications models.
He mentions some of the backwards compatible changes that have been made to the ACL API including changes in the add() method and the ability to create Zend_Acl_Role and Zend_Acl_Resource objects explicitly. The rest of the post gives a great example of setting up users in a role, creating an action to test them against (can they work with a blog post?) and running a series of checks against the ACL component as a guest, contributor and publisher.
This content syndicated from PHPDeveloper.org. Visit the original content for more commentary.webdev - Zend Framework Devzone
Matthew Weier O'Phinney has a new post on something he's been asked about a lot - autoloading Doctrine into a Zend Framework application.
A number of people on the mailing list and twitter recently have asked how to autoload Doctrine using Zend Framework's autoloader, as well as how to autoload Doctrine models you've created. Having done a few projects using Doctrine recently, I can actually give an answer.
His short answer - "attach it to the Zend_Loader_Autoloader". For those needing the long answer, he goes through a simple example of creating the loader object, registering a new namespace and pushing in the Doctrine functionality as an autoloader. The bootstrap class can then be modified with an "_initDoctrine" method to pull in just what scripts your app might need.
This content syndicated from PHPDeveloper.org. Visit the original content for more commentary.webdev - Zend Framework Devzone
Fabien Potencier has a suggestion for developers out there - don't just look at what you write as something functional that just does a job, be an artist!
Hacking is an art, and hackers should act as artists. Hackers and painters have a lot in common but I won't talk about the analogy too much as Paul Graham wrote an excellent essay and a whole book on this topic. I recommend you to read both of them if you are a hacker or a developer.
He points out that "beautiful code" is a good thing - unfortunately developers for companies may not have the luxury of writing it. He does suggest hacking on your own time, though. Not only is it good for you, getting out those ideas into working code, but it can also positively effect the applications you develop at your work.
This content syndicated from PHPDeveloper.org. Visit the original content for more commentary.webdev - Zend Framework Devzone
On the Affinity Bridge blog today there's a great post looking at the use of Xdebug and KCachegrind to pinpoint bottlenecks and possible refectoring points in your code in a bit more visual way. They use an example from their own development - a script that took around twenty minutes to run.
By reducing the number of queries, making small code optimizations, and properly indexing and keying the legacy database we managed to cut the time to 10 minutes'"still we were way off target. To get a better look at what was going on, we thought it would be great to install Xdebug and take a look at it with KCacheGrind.
They show you how to get the full setup installed (on a Ubuntu system) - the LAMP stack, Xdebug and KCacheGrind. Complete commands to install, configure and run a sample debug session are all included. Sample outputs from the KCacheGrind software are there too: code structure, execution times.
This content syndicated from PHPDeveloper.org. Visit the original content for more commentary.Before we begin and I tell you how to go about installing GNU/Nano text editor on GoDaddy Shared Deluxe Linux hosting account, let me give you a little history of about Nano. Nano is a clone of Pico, so lets talk about Pico a bit.
What is Pico?
Pico is a ncurses based text editor for Unix and Unix/Linux computer systems. It is integrated with the Pine e-mail client, which was designed by the Office of Computing and Communications at the University of Washington.
How To Extract an RPM Without Installing (EXTRACT & UNPACK .RPM)
Most of you linux users may already know to how extract .tgz tarballs and/or a zip/rar archives. Some of you advanced linux users may even know how to extract files from a Debian Package Archive (.DEB). However, a lot of you do not know how to extract files from an RPM archive as I get frequently asked this question on IRC. I will just write an article and point to to here :)
Read more: How To Extract an RPM Without Installing (EXTRACT & UNPACK .RPM)
Enabling SSH on Your GODADDY Deluxe Linux Shared Hosting Account
To SSH to your Linux Shared Hosting account on GODADDY, you need to enable SSH within the Hosting Control Center. SSH can be enabled on Deluxe & Unlimited hosting accounts only. SSH is a secure method of connecting to your hosting account to upload files, move files, and execute commands. When you enable SSH, it is enabled for the primary FTP user associated to the account. SSH (Secure Shell) is a protocol for creating a secure connection between two computers. The secure SSH connection provides authentication and encryption. SSH also provides compression.
Read more: Enabling SSH on Your GODADDY Deluxe Linux Shared Hosting Account
webdev - Zend Framework Tutorials
Hello guys. After much request from users, I have put together a package that contains the sample project we created earlier in the tutorial.
Read more: A Modular Directory Structure Quickstart: Download the Sample Application
webdev - Zend Framework Tutorials
Thanks for joining me in the third installment of this tutorial series on Zend_Application. In this tutorial we are going to create your .ini file and configure it to function correctly with your application.
Read more: A Modular Directory Structure Quickstart: Configure The Application
webdev - Zend Framework Tutorials
Hello and welcome to the second installment in the Zend_Application tutorial series. In this tutorial, we are going to create a front controller plugin that is going to change out modules based on the user's request.
Read more: A Modular Directory Structure Quickstart: Module Switcher Front Controller Plugin
webdev - Zend Framework Tutorials
The following tutorial will consist of creating the following conventional modular directory sturcture and bootstrapping it via Zend_Application 1.8.x.It is broken up over four chapters.
Read more: A Modular Directory Structure Quickstart: Create Directory Structure
My Twitter
- feed:
- follow:
- bio:C.E.O Frosted Web, Social Media Marketing & Development | C.T.O. Sky Social Media Inc, former Debian contributor, maintainer and developer. Currently w/FreeBSD.
- web:
- location:Baton Rouge, LA. USA
- updates:389
- followers:136
- following:15
Last 0 tweets in past 30 days from atirjavid:
People talking about '@Linux':




















