Currently Online

We have 9 guests online
None

Login

             | 

Search

Like it? Share it!

AtirJavid.com

Flex for PHP Developers

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.


Read Full Article
   

Ralph Schindler's Blog: Dynamic Assertions for Zend_Acl in ZF

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.

Read Full Article
   

Matthew Weier O'Phinney's Blog: Autoloading Doctrine and Doctrine entities from Zend Framework

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.

Read Full Article
   

Fabien Potencier's Blog: Developers should be Artists

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.

Read Full Article
   

Affinity Bridge Blog: Code optimization with Xdebug and KCachegrind

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.

Read Full Article
   

How to Install GNU Nano Text Editor on GoDaddy Shared Deluxe Linux Hosting with SSH Access

linux - Tutorials

User Rating: / 7
PoorBest 

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.

Read more: How to Install GNU Nano Text Editor on GoDaddy Shared Deluxe Linux Hosting with SSH Access

   

How To Extract an RPM Without Installing (EXTRACT & UNPACK .RPM)

linux - Tutorials

User Rating: / 2
PoorBest 

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

linux - Tutorials

User Rating: / 2
PoorBest 

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

   

A Modular Directory Structure Quickstart: Download the Sample Application

webdev - Zend Framework Tutorials

User Rating: / 16
PoorBest 

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

   

A Modular Directory Structure Quickstart: Configure The Application

webdev - Zend Framework Tutorials

User Rating: / 9
PoorBest 

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

   

A Modular Directory Structure Quickstart: Module Switcher Front Controller Plugin

webdev - Zend Framework Tutorials

User Rating: / 9
PoorBest 

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

   

A Modular Directory Structure Quickstart: Create Directory Structure

webdev - Zend Framework Tutorials

User Rating: / 22
PoorBest 

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

atirjavid's avatar
Atir Javid atirjavid
  • 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 4 following:
runev's avatar emiltofan's avatar CalEvans's avatar fabpot's avatar
Loading...

Last 0 tweets in past 30 days from atirjavid:

People talking about '@Linux':

Quick Links

CopyLeft Notice

Distribution of the Original Works

You’re free to copy and redistribute the copylefted work — either by itself, or as part of a larger collection of works. All you have to do is (1) be honest - by clearly crediting me as the author, and only redistributing accurate copies of the original (But you don't REALLY have to :) hehe )- and (2) keep it free - by distributing the copy under the same copyleft license, and including either a copy of the license, or a reference to its URL (http://creativecommons.org/licenses/by-sa/1.0/legalcode).

You don’t have to copyleft your whole newsletter to reprint a single article of mine in it (although copylefting your whole newsletter is certainly worthwhile on its own merits). You only have to distribute the copy of my work under the copyleft terms. You’re also free to distribute abridged, translated, or otherwise edited copies of my works — but these count as derivative works, not copies of the original.

Derivative Works

You’re also free to make and distribute derivative works from the copylefted work (such as abridged or edited copies of original works, stories about characters introduced in the original works, etc.). All you have to do is (1) be honest — by clearly identifying your work as a derivative work, and clearly crediting me as the author of the original work on which it was based (But you don't REALLY have to do that either :) Hehehe) — and (2) keep it free — by distributing your derivative work as free content under the terms of the same copyleft license under which the original work was distributed. Please read the (The GNU General Public License ). Thank you very much.

Credit me or don't. Just please keep the information free and flowing.