<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Md Emran Hasan (phpfour) - Latest Comments in Becoming a Kick-ass PHP ninja</title><link>http://phpfour.disqus.com/</link><description>This is Emran Hasan's blog for PHP, CSS, XHTML, JavaScript, Web 2.0, AJAX, Usability, and Web Standards related views, ideas, and sharing.</description><language>en</language><lastBuildDate>Sat, 25 Jul 2009 06:15:38 -0000</lastBuildDate><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-13308348</link><description>Summary: Follow the industry best practices.&lt;br&gt;&lt;br&gt;Meh</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeremy</dc:creator><pubDate>Sat, 25 Jul 2009 06:15:38 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-6819428</link><description>i completely agree with you...!!!! thanx for the amazing post..!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sefat</dc:creator><pubDate>Tue, 03 Mar 2009 01:32:00 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-4619060</link><description>nice post :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Asad Abbas</dc:creator><pubDate>Wed, 24 Dec 2008 20:46:19 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-4072494</link><description>Thanks for your reply. I would not argue about the sentence, but tell me one thing: didn't you understand what I wanted to mean? If yes, then I think my target is achieved. And remember, this article is meant for all the newbie PHP developers out there - not only for those who have a software engineering background.&lt;br&gt;&lt;br&gt;And don't know what the word "diverted" means here, but I've been programming since college. And if you think I'm not a "True IT Professional" that's fine with me as I don't mind about people saying things that they don't know about - its their discredit, not mine :) &lt;br&gt;&lt;br&gt;Oh btw, what is your blog address where I can find good posts on software engineering?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Sun, 30 Nov 2008 11:55:17 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-3739188</link><description>Excellent article.  I tried a framework and found it hard to use because i had to program the way they did.  It was expendable however I found it limiting.  The other concern I have is it might cause my code to become open source.  While I like giving to the community I do not want an application I work on for 300 hours to be vulnerable to becoming open source.&lt;br&gt;&lt;br&gt;Learning how to re-use code is probably one of the biggest thing a programmer can do for himself/herself. &lt;br&gt;&lt;br&gt;Angain great article!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PHP Designer</dc:creator><pubDate>Thu, 13 Nov 2008 09:53:45 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-3618669</link><description>Nice post. It's a continuous process to follow the system.I think this system is always true, not only for php but also for any other language/project work. Just carefully we follow the process when we do our jobs, we must improve ourselves. But one most important part of learning new technologies/languages/problem solving approach/anything is the last part, "B COMMUNICATIVE". It 'll always improve team work as well as our running project.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roman</dc:creator><pubDate>Sat, 08 Nov 2008 00:59:57 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-3554078</link><description>Thanks. It is very useful article. My favourite titles are: &lt;br&gt;Write code in OOP way, &lt;br&gt;Use a good IDE, &lt;br&gt;Test your code the right way, &lt;br&gt;Re-use code/libraries</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pointer</dc:creator><pubDate>Wed, 05 Nov 2008 12:26:24 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-3281804</link><description>"Write code in OOP way" - What did you mean by this bro? &lt;br&gt;&lt;br&gt;OOP is not a way of coding. It's intended to match real world modeling in programming. When you think of OOP  then you have to take every entity as object. I think you still really have some shortage of some software engineering knowledge. Though this article could be helpful but finally realized that you are not a true IT Professional. May be diverted form other field to this field. Still lots to learn buddy.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rahat</dc:creator><pubDate>Fri, 24 Oct 2008 16:15:03 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-3165225</link><description>While only for OSX, I've found that Coda is an excellent IDE and the one I've settled on after trying most everything else for Windows, Linux and OSX. Coda has all the features I need and none of the extra bloat I don't. If you're a Mac user I strongly encourage giving it a try.  &lt;a href="http://www.panic.com/coda/" rel="nofollow"&gt;http://www.panic.com/coda/&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CastleMonkey</dc:creator><pubDate>Mon, 20 Oct 2008 01:03:30 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-3032701</link><description>Thank you for sharing!&lt;br&gt;&lt;br&gt;Looks like top point is to Write code in OOP.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mr_gadget</dc:creator><pubDate>Mon, 13 Oct 2008 21:42:18 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-3007686</link><description>Great post. &lt;br&gt;&lt;br&gt;I think that good freeware IDE for PHP programmers is also Eclipse for LAMP.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maga</dc:creator><pubDate>Sun, 12 Oct 2008 10:43:46 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-3006995</link><description>you miss the greates of all PHP IDE: waterproof's PHPEDIT &lt;a href="http://www.phpedit.com" rel="nofollow"&gt;http://www.phpedit.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;not free, but really good: i've used it since 5 years, and its still the best _ lots of plugins to complement it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pixeline</dc:creator><pubDate>Sun, 12 Oct 2008 09:00:56 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2966122</link><description>This is an excellent post.&lt;br&gt;&lt;br&gt;Points well covered, and the "further reading material" in each point makes this post very valuable.&lt;br&gt;Thanks for sharing this.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amit Pansare</dc:creator><pubDate>Thu, 09 Oct 2008 13:56:08 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2949400</link><description>I completely agree with you about form helpers, i've always felt&lt;br&gt;comfortable writing the html myself.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Wed, 08 Oct 2008 20:27:14 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2945012</link><description>My biggest issue is all the additional stuff in a framework.  For example, Form helpers.  They just tweak me off something fierce.  I do not believe that they are necessary, and are in fact, an unneccessary overhead.  I have been proramming web apps for many years, and I don't understand why people say that using a form help is so much better than just writing the form out yourself?  I know all the lines of html code necessary to create a form.  Why should I learn a whole set of functions that do what I already know how to do?&lt;br&gt;&lt;br&gt;Someone said to me that it keeps the form separate from the PHP code.  If you use an MVC framework, you can still put the html code for the form in the view.&lt;br&gt;&lt;br&gt;I have used my own type of framework, and my applications have been very quick and snappy.  They definitely don't use separate functions and commands listed in arrays to create an input box!?!?!?  Why, it's not necessary!  I will admit that I may use a function that starts the form an ends the form, but not to populate the contents of a form.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wade</dc:creator><pubDate>Wed, 08 Oct 2008 15:27:15 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2935773</link><description>I personally do not enjoy Dreamweaver. Snippits stop a developer from going through his or her code, and can pose a threat. Code templates should be avoided. Again, an IDE should not be holding your hand through the process. Rather, they should simply be a utility with little interference. And auto completion seems nice at first, but when you use Prototype or Mootools they do not indent properly. And when you are using strings they attempt to end a tag when you don't want it to. So, again, this feature gets in the way of freedom to code, and hinders the thought and logical process.&lt;br&gt;&lt;br&gt;I tend to prefer Scite. Though, with this editor, you can only have 10 documents open which is a pain. And it is missing two very good features of Dreamweaver: Entire site search / replace, and suggestions (which are very handy, specifically with CSS).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim</dc:creator><pubDate>Wed, 08 Oct 2008 09:53:16 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2930350</link><description>Yes, I read Rasmus's post earlier and somewhat agree with him. But I've also read one of his interviews in Sitepoint where he mentioned CodeIgniter to be a framework that actually looks like a framework to him and has some good use.&lt;br&gt;&lt;br&gt;In my personal opinion, some frameworks just try too hard to bloat everything and loses the main focus. For me, the objective of a good framework has to be providing structure to projects and provide a number of useful functionality like db abstraction, security, caching, profiling, url mapping, helpers, etc etc.  &lt;br&gt;&lt;br&gt;Regarding PHP's speed compared to other compiled language, it's a plain truth. A scripting language can not be as fast as the compiled ones. However, it can more or less handle the pressure of web - at least upto a few millions - if the app is developed properly and optimized for large traffic. &lt;br&gt;&lt;br&gt;Thanks for your comment :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Tue, 07 Oct 2008 23:22:21 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2930171</link><description>Yes, sometimes re-inventing wheel gives you the chance of learning the rope closely. Regarding your mysql class, doesn't it help your life a bit easier by doing stuffs for you? I'd imagine my class would have some functions like thins: &lt;br&gt;&lt;br&gt;- read(1); &lt;br&gt;- findAll ( "status = 'published'" );&lt;br&gt;- update ($post, $id); &lt;br&gt;&lt;br&gt;to speed up my development time. Back in my head i know the generated queries are safe, structured and does their work pretty good. Just my thoughts :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Tue, 07 Oct 2008 23:13:02 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2930023</link><description>Yes, that's true. Security should always get great attention when developing quality applications.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phpfour</dc:creator><pubDate>Tue, 07 Oct 2008 23:04:51 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2925090</link><description>if you are not doing this already, then you have lots to learn still.  Get to it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dazzo</dc:creator><pubDate>Tue, 07 Oct 2008 18:33:22 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2920523</link><description>"Write code in OOP way" - this doesn't really make sense.&lt;br&gt;&lt;br&gt;PHP is a scripting language - don't forget that. Using objects and classes is important, but not vital to proper coding in PHP. Writing all your code within classes like many frameworks out there do creates a lot of overhead that isn't necessary when developing a website, and causes developers a lot of headaches just trying to get a simple website setup with a few dynamic sections.&lt;br&gt;&lt;br&gt;OOP is a practice, and in PHP its just an option. Unlike other languages such as Java which are completely object based languages. Utilizing PHP's variable and object scope is much more important in my opinion.&lt;br&gt;&lt;br&gt;Things to use objects for: modular information (such as a user entry, or a database wrapper)&lt;br&gt;Things NOT to use objects for: normal page procedure (Zend framework does this, and although this is a robust framework it is silly to waste time programming this way when PHP programming is meant to be a faster alternative than other languages - you might as well just use Java to program if you want to do it that way, it will be faster)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John</dc:creator><pubDate>Tue, 07 Oct 2008 13:39:53 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2915290</link><description>Using a framework doesn't make you a ninja. PHP is not really designed for the use of big frameworks and using one can actually slow your code down. See Rasmus himself telling us why:&lt;br&gt;&lt;a href="http://szeged2008.drupalcon.org/program/sessions/rasmus-lerdorf-keynote-simple-hard" rel="nofollow"&gt;http://szeged2008.drupalcon.org/program/session...&lt;/a&gt;&lt;br&gt;This is different from writing using software patterns. Writing in software patterns can help.&lt;br&gt;&lt;br&gt;Also, being agile as you describe it is different from Agile Development, which is a very specific form of development methodology. Agile Development suits some projects and not others whereas your definition of having a dynamic personality is useful always.&lt;br&gt;&lt;br&gt;Also, OOP is a huge overhead for many of the simple functions you need to perform with scripting. Chances are, if you need to make something huge, scalable and quick then you're going to write the guts in your favourite compiled language such as Java/.NET/C/C++ etc. PHP is not designed for that and so falls down on fast backend processes.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Lang</dc:creator><pubDate>Tue, 07 Oct 2008 05:31:44 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2895463</link><description>Hello, good post. There never seems to be enough time for me to do OOP :)&lt;br&gt;I am a micro-manager with code and I understand by building, that's why I like to re-invent the wheel, make sure when I do I take a good look at the wheel from security, flexibility.&lt;br&gt;I love the thought process of event driven :) It just feels to intuitive and the web really is 100% event driven, it's a disconnected system and you can only rely on one event at a time.&lt;br&gt;I just don't have that magical OOP feeling for the web.&lt;br&gt;When I develop outside the web I do C and C++, and it's a different world the communication is different. And While I develop AJAX JSON stuff in web, I always start with the assumption that the user and session is completely disconnected and never treat it like a real app.&lt;br&gt;I spent the time to write a very extensive and well rounded class for mysql. Then in everyday use, it just didn't feel right, I can't help but thinking hmm I miss my normal functions :) I miss my quick n dirty mysql_add_my_row($table,$fields,$vars). What am I missing out with on OOP? When I program OOP half of developers whine saying what is this, then the other half whine hey we use cake, you use zend.&lt;br&gt;I follow the rest of the practices to the point, svn, inline documentation, code format, etc. I am just not an OOP guy, can someone help sell me on the religion of OOP?&lt;br&gt;Thanks for the help! :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pete</dc:creator><pubDate>Mon, 06 Oct 2008 13:24:04 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2894730</link><description>becoming a kiss-ass php ninja without any control on security ???&lt;br&gt;im just a php beginner but you should talk about this point...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">graffiti</dc:creator><pubDate>Mon, 06 Oct 2008 12:37:37 -0000</pubDate></item><item><title>Re: Becoming a Kick-ass PHP ninja</title><link>http://www.phpfour.com/blog/2008/10/02/become-kick-ass-php-ninja-from-newbie-guide-tips/#comment-2891466</link><description>Hey, thanks for the mention! Great post.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshsharp</dc:creator><pubDate>Mon, 06 Oct 2008 08:15:05 -0000</pubDate></item></channel></rss>