<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Piranha Method &#187; Scott Carroll</title>
	<atom:link href="http://www.piranhamethod.com/author/scarroll/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piranhamethod.com</link>
	<description>Web Development &#38; Graphic Design Firm - Charlotte, Greenville, Charleston</description>
	<lastBuildDate>Wed, 14 Apr 2010 02:18:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Our Best SEO Advice</title>
		<link>http://www.piranhamethod.com/2009/06/our-best-seo-advice/</link>
		<comments>http://www.piranhamethod.com/2009/06/our-best-seo-advice/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 04:22:24 +0000</pubDate>
		<dc:creator>Scott Carroll</dc:creator>
				<category><![CDATA[Development Blog]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=312</guid>
		<description><![CDATA[Google spends a metric shit ton of money on software development to properly index billions of web pages, take a look at what really makes the difference in web development.]]></description>
			<content:encoded><![CDATA[<p>We get a lot of questions about <strong>Search Engine Optimization</strong> and how to be the top of the search results for Google. Here is our usual response to clients.</p>
<p>Google spends a metric shit ton of money on software development to properly index billions of web pages. They have an effective system in place to filter out garbage sites and analyze content. The best SEO advice in the world is:</p>
<ol>
<li>Write clean, valid code that takes full advantage of what us nerds call <em>semantic HTML</em>. This means that the proper tags are used to mark up the proper text. H1 tags are very important headings, H2 tags are secondarily important, etc. TITLE tags are very important, keywords and descriptions are at the bottom of the importance list due to their overuse/misuse.</li>
<li>Keep it simple, Google has algorithms in place to prevent overuse of keywords, just sticking words in randomly is BAD. The best thing to do is to write with keywords in mind, but also write for a human reader. Their spider analyzes sentences and word counts more than any other piece of software in history. They know the difference between spamming keywords and properly formed relevant sentences.</li>
<li>Inbound links are golden. The link back to your site is a vote in favor of you. It should also contain keywords if possible and be on relevant sites that share similar keywords.</li>
<li>Register your domain name for as long as possible, they know when it was registered and when it will expire. If your site is registered for 5 years, it means you are in for the long haul, not some fly-by-night spammer.</li>
</ol>
<p>All of this can be found, direct from the horse&#8217;s mouth, here: <a href="http://google.com/support/webmasters/bin/answer.py?answer=35769" target="_blank">http://google.com/support/webmasters/bin/answer.py?answer=35769</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/06/our-best-seo-advice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Framework Comparison</title>
		<link>http://www.piranhamethod.com/2009/05/php-framework-comparison/</link>
		<comments>http://www.piranhamethod.com/2009/05/php-framework-comparison/#comments</comments>
		<pubDate>Mon, 25 May 2009 09:42:30 +0000</pubDate>
		<dc:creator>Scott Carroll</dc:creator>
				<category><![CDATA[Development Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[QCubed]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=283</guid>
		<description><![CDATA[What is a PHP Framework?
A PHP framework is a set of functions and classes written in PHP that provides a starting point for developing web applications. Frameworks vary in directory structure, feature set, and documentation/support.
Why Use a PHP Framework?
As a PHP developer, it is frustrating to have to code projects over and over again from [...]]]></description>
			<content:encoded><![CDATA[<h3>What is a PHP Framework?</h3>
<p>A PHP framework is a set of functions and classes written in PHP that provides a starting point for developing web applications. Frameworks vary in directory structure, feature set, and documentation/support.</p>
<h3>Why Use a PHP Framework?</h3>
<p>As a PHP developer, it is frustrating to have to code projects over and over again from scratch. Many projects share common features such as mail functions, file handling, database connection, converting and translating text, and on, and on. By alleviating these common coding tasks, a good PHP framework allows a developer to focus more on custom business logic.</p>
<p>I am going to compare a few common PHP frameworks that I have used, feel free to add your own opinions and any frameworks I <strong>will</strong> inevitably miss.</p>
<p><span id="more-283"></span></p>
<h3>Comparison of some PHP Frameworks I have used:</h3>
<h4>QCubed</h4>
<p><a title="QCubed Website" href="http://www.qcu.be" target="_blank">QCubed</a> is a community driven fork of <a title="Qcodo Website" href="http://www.qcodo.com" target="_blank">Qcodo</a>. I am personally no longer using Qcodo in favor of QCubed. QCubed has two main parts, ORM code generation and QForms. Generated code in QCubed follows the MVC pattern, although an actual controller is never generated. Generated code is very easily extended through basic object oriented PHP. A proper MVC file structure can be accomplished and QCubed can produce very high quality web applications. QCubed is not as well documented as some of the other frameworks, but its code generation is extremely powerful and growing stronger.</p>
<p>QForms are essentially PHP objects of HTML forms. They are defined by Mike Ho as &#8220;&#8230;stateful objects that maintain state from one post to the next.&#8221; QControls are PHP objects used to control form elements such as QTextbox, QPanel, QLabel, QButton, and QControls can even be combined and extended to create new QControls. Any QControl can have events assigned to it (click, hover, blur, etc.) that can trigger actions (PHP or JS functions), providing unlimited functionality using advanced AJAX.</p>
<p>ORM Code generation examines the data model and writes data model classes based on relationships it finds. It also writes draft HTML forms to provide basic CRUD functionality. A developer can simply run a codegen on a database and end up with a working application that can list, create, edit, and delete database entries without programming a single line. The drafts will need to be edited, of course, to provide custom logic, but they provide for very rapid prototyping.</p>
<p><a title="QCubed PHP Framework" href="http://www.piranhamethod.com/2009/04/09/qcodo-qcubed/" target="_self">More on QCubed</a>.</p>
<h4>Zend Framework</h4>
<p id="lhid_intr">Extending the art &amp; spirit of PHP, <a title="Zend Framework Website" href="http://framework.zend.com/" target="_blank">Zend Framework</a> is based on simplicity, object-oriented             best practices, corporate friendly licensing, and a rigorously tested agile codebase. Zend Framework is focused             on building more secure, reliable, and modern Web 2.0 applications &amp; web services. Zend is focused on using widely available web service APIs.<br />
<strong>Features:</strong></p>
<ul>
<li>An extensible and well-tested code base â€“ easy to augment</li>
<li>A flexible architecture â€“ not locked-in to a rigid application structure</li>
<li>No configuration files necessary to get up and running â€“ or when maintaining and deploying your apps</li>
<li><strong>AJAX</strong> support through JSON â€“ meet the ease-of-use requirements your users have come to expect</li>
<li><strong></strong> Native PHP edition of the industry-standard <strong>Lucene search engine</strong></li>
<li><strong></strong>Zend Framework aims to be the premier place to consume &amp; publish web services</li>
<li><strong>High-quality, object-oriented PHP 5 class library</strong></li>
</ul>
<p><a title="Articles tagged 'Zend'" href="http://www.piranhamethod.com/tag/zend/" target="_self">More about Zend</a></p>
<h4>CakePHP</h4>
<p>Excellent documentation, simple to set up, easy to use and extend. Very well marketed, with cute names for things &#8211; For instance, applications built on <a title="CakePHP Website" href="http://cakephp.org" target="_blank">CakePHP</a> are considered &#8220;baked,&#8221; The CakePHP manual is called &#8220;The Cookbook,&#8221;Â  and the portal-like &#8220;Bakery&#8221; offers up-to-the-minute details about the CakePHP community.</p>
<p>I like CakePHP and it does its job very well. It is not as enterprise grade like Zend, but it is very thorough and the cute names have attracted a good sized community. Some pretty powerful sites are being &#8220;baked&#8221; using CakePHP.</p>
<h4>CodeIgniter</h4>
<p>A very lightweight and easy to implement framework. A good choice for newcomers to PHP and MVC. <a title="CodeIgniter Website" href="http://www.codeigniter.com" target="_blank">CodeIgniter</a> provides a very thorough class library, as well as helper functions for common tasks. Not my favorite of the bunch, as I prefer QCubed&#8217;s code generation to the scaffolding of CodeIgniter and QCubed is just as robust in other aspects.</p>
<h4>Zoop</h4>
<p><a title="Zoop Framework" href="http://www.zoopframework.com" target="_blank">Zoop</a> has been in development since 2001 and in use for the last 6 years in a number of different production environments. While it predates the recent proliferation of PHP frameworks, it&#8217;s based on solid MVC principles, including separation of display, logic, and data layers. It&#8217;s designed to be efficient, modular, and extensible, striking a balance between lightweight and fully-featured. Zoop is the granddaddy of PHP frameworks, and as such is very solid. I would recommend Zoop to any experienced PHP programmer looking for a good MVC framework.</p>
<h4>Symfony</h4>
<p>Review Coming Soon&#8230;</p>
<h4>Yii</h4>
<p>Review Coming Soon&#8230;</p>
<h4>Seagull</h4>
<p>Seagull is a mature OOP framework for building web, command line and GUI applications. Licensed under BSD, the project allows PHP developers to easily integrate and manage code resources, and build complex applications quickly.</p>
<p>Many popular PHP applications are already seamlessly integrated within the project, as are various templating engines, testing tools and managed library code. If you&#8217;re a beginner, the framework provides a number of sample applications that can be customised and extended to suit your needs. If you&#8217;re an intermediate or advanced developer, take advantage of Seagull&#8217;s best practices , standards and modular codebase to build your applications in record time.</p>
<p>Once your development cycle is complete, use Seagull&#8217;s features for deploying and maintaining your apps locally and remotely. Check out the friendly and active Seagull community and see if Seagull&#8217;s a good fit for you.</p>
<h4>Joomla</h4>
<p>Joomla is considered firstly a CMS, but has been proven to provide a decent framework for PHP development. Current version is 1.5 and has come a long way since the days of Mambo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/05/php-framework-comparison/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Zend puts PHP on a cloud (Amazon&#8217;s).</title>
		<link>http://www.piranhamethod.com/2009/05/zend-puts-php-on-a-cloud-amazons/</link>
		<comments>http://www.piranhamethod.com/2009/05/zend-puts-php-on-a-cloud-amazons/#comments</comments>
		<pubDate>Fri, 08 May 2009 04:49:52 +0000</pubDate>
		<dc:creator>Scott Carroll</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[amazon ec2]]></category>
		<category><![CDATA[amazon s3]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[open source community]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=262</guid>
		<description><![CDATA[Version 1.8 of the Zend Framework now allows direct access to Amazon S3 (Simple Storage Service) and Amazon Elastic Compute Cloud (Amazon EC2) . This allows for PHP developers to easily tap into the scalability advantages of distributed computing. Through Zend_Service_Amazon_S3 PHP applications built with the new Zend Framework can easily tap into scalable web [...]]]></description>
			<content:encoded><![CDATA[<p>Version 1.8 of the <a title="Zend PHP Framework" href="http://framework.zend.com/" target="_blank">Zend Framework</a> now allows direct access to <a title="Amazon Simple Storage Service" href="http://aws.amazon.com/s3/" target="_blank">Amazon S3 (Simple Storage Service)</a> and <a title="Amazon Elastic Compute Cloud" href="http://aws.amazon.com/ec2/" target="_blank">Amazon Elastic Compute Cloud (Amazon EC2)</a> . This allows for PHP developers to easily tap into the scalability advantages of distributed computing. Through Zend_Service_Amazon_S3 PHP applications built with the new Zend Framework can easily tap into scalable web resources whenever traffic spikes or if the application demands more resources than the host server can provide.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/05/zend-puts-php-on-a-cloud-amazons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kubuntu 9.04 &#8211; Jaunty Jackalope Joy!</title>
		<link>http://www.piranhamethod.com/2009/04/kubuntu-904-jaunty-jackalope-joy/</link>
		<comments>http://www.piranhamethod.com/2009/04/kubuntu-904-jaunty-jackalope-joy/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 23:21:57 +0000</pubDate>
		<dc:creator>Scott Carroll</dc:creator>
				<category><![CDATA[Debian Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[VAIO]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=237</guid>
		<description><![CDATA[I have been using the latest release of Kubuntu on my Sony VAIO VGN-NR110E and I am impressed with the advancements the Linux community has made. When I first got into Linux and the open source movement, KDE and Gnome were fun to tinker with, but they were not usable for daily tasks and were [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using the latest release of Kubuntu on my Sony VAIO VGN-NR110E and I am impressed with the advancements the Linux community has made. When I first got into Linux and the open source movement, KDE and Gnome were fun to tinker with, but they were not usable for daily tasks and were hard to set up. Of course, this was in the days before broadband was widespread and winmodems were the standard. Linux was definitely not ready for the desktop.<span id="more-237"></span></p>
<p>Today, I think that Linux is ready. KDE still has a few bugs to iron out and I am not covering Gnome right now, but it is definitely able to compete with Windows and Mac for geeks and grandmas. All of the necessary office and productivity tools are available, Amarok is the best music player I have ever used, Firefox and Flash are easily installed with a few clicks, Wireless was set up instantly, I am extremely impressed with this release.</p>
<h4>Now for the obligatory complaints.</h4>
<p>KDE4 is still a bit buggy. I have full faith that they will iron out the majority of these quirks soon enough. The biggest complaint is lack of third party software support. There have been huge strides since the early days, but video game developers are not developing for OpenGL and Linux platforms. This is what will keep most people from switching. Also, many companies are using software that they have invested a lot of money into. The developers for many major software programs are not coding for Linux because there aren&#8217;t many users of Linux. This is a hard loop to break. I feel that developers are going to have to code to open standards or users are going to have to be introduced to Linux and its advantages to create the market share necessary to be a valid competitor for software companies to release Linux software and develop games and ports of popular programs.</p>
<p><a title="Kubuntu | linux for human beings" href="http://www.kubuntu.org/" target="_blank">http://www.kubuntu.org/</a> &#8211; Kubuntu Home Page<br />
<a title="K Desktop Environment" href="http://www.kde.org/" target="_blank">http://www.kde.org/</a> &#8211; K Desktop Environment</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/04/kubuntu-904-jaunty-jackalope-joy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Kodak ESP 7</title>
		<link>http://www.piranhamethod.com/2009/04/kodak-esp-7/</link>
		<comments>http://www.piranhamethod.com/2009/04/kodak-esp-7/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 05:31:06 +0000</pubDate>
		<dc:creator>Scott Carroll</dc:creator>
				<category><![CDATA[Wireless Networking Technology]]></category>
		<category><![CDATA[kodak]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=235</guid>
		<description><![CDATA[Avoid the Kodak ESP 7. I repeat, DO NOT but the Kodak ESP 7.]]></description>
			<content:encoded><![CDATA[<p>We normally don&#8217;t do product reviews of consumer hardware, but I had to post my frustration with Kodak&#8217;s wireless ESP 7 multi-function printer. Kodak touts itself as saving money with its new line of Easyshare printers, but even though the print is cheaper, it seems to run out faster. It is also a problem since the color ink is all in one cartridge &#8211; you run out of one color and you have to replace the whole thing. The printer is also loud, and slow to start.</p>
<p>Mine was among the many printers that have issues requiring the unit to be returned to Kodak and often, returned again. The first issue I ran into was &#8220;Top Tray Jammed, Pull Tray Out&#8230;.Top Tray Jammed, Push Tray In&#8230;Top Tray Jammed&#8230;&#8221; error. Pressing &#8220;Cancel&#8221; got me past this problem, as there is no paper jam. That is just an annoyance, but now I am stuck with an &#8220;error 6202&#8243; which is apparently because of the scanner motor not being able to move. The reason for this became apparent as soon as I opened the printer up and noticed that a cable had come loose. As soon as I hooked the cable back up, the printer was back to working again. But, now I am out of ink again after I have only printed about 20 pages. Bottom line, avoid these printers at all costs. I have<strong>Â neverÂ </strong>had this much trouble with a printer.Â </p>
<p>Don&#8217;t take just my word for it, here are links to other reviews about the Kodak ESP 7:</p>
<p><a href="http://cnet.nytimes.com/multifunction-devices/kodak-esp-7/4852-3181_7-33342058.html">http://cnet.nytimes.com/multifunction-devices/kodak-esp-7/4852-3181_7-33342058.html<br />
</a><a href="http://reviews.bestbuy.com/3545/9018519/reviews.htm">http://reviews.bestbuy.com/3545/9018519/reviews.htm<br />
</a><a href="http://www.photographyblog.com/news/kodak_esp_9_esp_7_all_in_one_printers/">http://www.photographyblog.com/news/kodak_esp_9_esp_7_all_in_one_printers/</a>Â </p>
<p>Even the ESP 5 is apparently flawed:</p>
<p><a href="http://www.fixya.com/support/t1905975-paper_jam_error_light_kodak_esp_5">http://www.fixya.com/support/t1905975-paper_jam_error_light_kodak_esp_5</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/04/kodak-esp-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>QCodo/QCubed</title>
		<link>http://www.piranhamethod.com/2009/04/qcodo-qcubed/</link>
		<comments>http://www.piranhamethod.com/2009/04/qcodo-qcubed/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 12:51:07 +0000</pubDate>
		<dc:creator>Scott Carroll</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[QCodo]]></category>
		<category><![CDATA[QCubed]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=198</guid>
		<description><![CDATA[I have been developing applications from a PHP framework and code generation system called QCodo recently. And more recently, its community-driven branch dubbed QCubed. The QCubed platform is beneficial to me mostly because it allows object-oriented PHP code to be generated from a MySQL database structure (as well as many others) . I use PHP/MySQL [...]]]></description>
			<content:encoded><![CDATA[<p>I have been developing applications from a PHP framework and code generation system called <a title="QCodo PHP Framework" href="http://www.qcodo.com" target="_blank">QCodo</a> recently. And more recently, its community-driven branch dubbed <a title="QCubed PHP Development Framework" href="http://qcu.be" target="_blank">QCubed</a>. The QCubed platform is beneficial to me mostly because it allows object-oriented PHP code to be generated from a MySQL database structure (as well as many others) . I use PHP/MySQL almost exclusively in projects here at Piranha Method, so this is a perfect tool for me.<span id="more-198"></span></p>
<p>There are a few parts to QCodo/QCubed that speed up my coding time. First, I mentioned code generation. This is the strongest feature and is what originally drew me to QCodo. If you provide QCubed with your database information, you can have it scan your DB and write pretty clean &#8220;drafts&#8221; of OOP PHP code based on relationships and foreign keys. It will also generate draft QForms that can be used to perform basic CRUD functionality with the objects it has generated from the database.</p>
<p>Which brings me to the next feature that QCubed offers: QForms and QControls. QForms are as the developer puts it &#8220;stateful, event-driven objects.&#8221; What this means is that each QForm is basically an HTML form that posts back to itself and remembers its state from the previous posting. No sessions or cookies are used.</p>
<p>QControls are essentially PHP objects that have defined getters/setters that can be overridden or added onto.Â  The QForm is responsible for rendering the QControl as HTML and handling any events that are applied to the QControl. QControls can be nested and expanded on to create really powerful web applications.</p>
<p>The last part of QCodo/QCubed are QQueries. This is a shortcut way to perform SQL Queries in an object-oriented manner. QQueries can take in conditions and clauses to provide custom loading of objects in your application. For instance take the following logic:</p>
<p>Select all Projects where: the Project ID &lt;= 2 AND (the manager&#8217;s first name is alphabetically &#8220;greater than&#8221; the last name, or who&#8217;s name contains &#8220;Website&#8221;)</p>
<p><code><span style="color: #000000;"><span style="color: #0000bb;">&lt;?php<br />
$objProjectArray </span><span style="color: #007700;">= </span><span style="color: #0000bb;">Project</span><span style="color: #007700;">::</span><span style="color: #0000bb;">QueryArray</span><span style="color: #007700;">(<br />
</span><span style="color: #0000bb;">QQ</span><span style="color: #007700;">::</span><span style="color: #0000bb;">AndCondition</span><span style="color: #007700;">(<br />
</span><span style="color: #0000bb;">QQ</span><span style="color: #007700;">::</span><span style="color: #0000bb;">OrCondition</span><span style="color: #007700;">(<br />
</span><span style="color: #0000bb;">QQ</span><span style="color: #007700;">::</span><span style="color: #0000bb;">GreaterThan</span><span style="color: #007700;">(</span><span style="color: #0000bb;">QQN</span><span style="color: #007700;">::</span><span style="color: #0000bb;">Project</span><span style="color: #007700;">()-&gt;</span><span style="color: #0000bb;">ManagerPerson</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">FirstName</span><span style="color: #007700;">, </span><span style="color: #0000bb;">QQN</span><span style="color: #007700;">::</span><span style="color: #0000bb;">Project</span><span style="color: #007700;">()-&gt;</span><span style="color: #0000bb;">ManagerPerson</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">LastName</span><span style="color: #007700;">),<br />
</span><span style="color: #0000bb;">QQ</span><span style="color: #007700;">::</span><span style="color: #0000bb;">Like</span><span style="color: #007700;">(</span><span style="color: #0000bb;">QQN</span><span style="color: #007700;">::</span><span style="color: #0000bb;">Project</span><span style="color: #007700;">()-&gt;</span><span style="color: #0000bb;">Name</span><span style="color: #007700;">, </span><span style="color: #dd0000;">'%Website%'</span><span style="color: #007700;">)<br />
),<br />
</span><span style="color: #0000bb;">QQ</span><span style="color: #007700;">::</span><span style="color: #0000bb;">LessOrEqual</span><span style="color: #007700;">(</span><span style="color: #0000bb;">QQN</span><span style="color: #007700;">::</span><span style="color: #0000bb;">Project</span><span style="color: #007700;">()-&gt;</span><span style="color: #0000bb;">Id</span><span style="color: #007700;">, </span><span style="color: #0000bb;">2</span><span style="color: #007700;">)<br />
)<br />
);</span></span></code></p>
<p>foreachÂ (<span style="color: #0000bb;">$objProjectArray </span><span style="color: #007700;">as </span><span style="color: #0000bb;">$objProject</span><span style="color: #007700;">)Â {<br />
</span><span style="color: #0000bb;">_p</span><span style="color: #007700;">(</span><span style="color: #0000bb;">sprintf</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8216;%sÂ (managedÂ byÂ %sÂ %s)&#8217;</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$objProject</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">Name</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$objProject</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">ManagerPerson</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">FirstName</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$objProject</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">ManagerPerson</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">LastName</span><span style="color: #007700;">));<br />
</span><span style="color: #0000bb;">_p</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8216;&lt;br/&gt;&#8217;</span><span style="color: #007700;">, </span><span style="color: #0000bb;">false</span><span style="color: #007700;">);<br />
}<br />
</span><span style="color: #0000bb;">?&gt;</span></p>
<p>This is much easier to read and understand than the SQL command required to perform the same function. Also, if you change your database source you won&#8217;t have to rewrite code, as long as the relational structure stays the same.</p>
<p>I highly recommend you check out <a title="QCodo Examples" href="http://examples.qcodo.com">http://examples.qcodo.com</a> and <a title="QCubed Tutorials" href="http://trac.qcu.be/projects/qcubed/wiki/Tutorials">http://trac.qcu.be/projects/qcubed/wiki/Tutorials</a> to get a sense of how powerful this framework truly is.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/04/qcodo-qcubed/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Microsoft Windows 7</title>
		<link>http://www.piranhamethod.com/2009/03/microsoft-windows-7/</link>
		<comments>http://www.piranhamethod.com/2009/03/microsoft-windows-7/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 08:50:20 +0000</pubDate>
		<dc:creator>Scott Carroll</dc:creator>
				<category><![CDATA[Beta Testing]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=182</guid>
		<description><![CDATA[Windows 7 coming before Vista even gets a foothold.]]></description>
			<content:encoded><![CDATA[<p>I have had a chance to toy with Microsoft&#8217;s <a title="Microsoft.com - Windows 7 beta" href="http://www.microsoft.com/windows/windows-7/" target="_blank">latest beta offering</a>, and I must admit that I am not too impressed. I am still complaining about bugs in their current stable Vista platform. Most people are still holding off on upgrading to Vista, and many are actually downgrading to Windows XP.</p>
<p>Windows 7 seems to be a <em><strong>minor</strong></em> update to Vista. I have found nothing spectacular with this system. The biggest improvement is what the MS camp is touting to be a more compartmentalized system that will (Finally!) allow components like Internet Explorer to be removed. The ultimate goal being to provide a smaller footprint on custom systems, such as netbooks or Media Center PCs where Linux systems are gaining a higher market share.</p>
<p>Microsoft is releasing it&#8217;s stranglehold on Internet Explorer to focus on it&#8217;s <a title="Microsoft.com - Windows Live memorandum" href="http://www.microsoft2.net/2008/04/27/windows-live-wave-3-planning-memo-august-2007-part-1/" target="_blank">Windows Live endeavor</a>. It now seems that Microsoft is swapping focus from their desktop applications and are now focusing more on Internet SAAS. This move is obviously an attempt to compete with Google&#8217;s online applications. Windows Live is a big part of Windows 7 and Microsoft is using this to funnel users into their services.</p>
<p>In conclusion, Microsoft is still the same old Microsoft. Windows 7 has no new innovations and is just another avenue of income for the folks in Redmond.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/03/microsoft-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
