<?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>Private: Code &#38; Script Snippet &#187; Pattern</title>
	<atom:link href="http://dev.kratik.net/index.php/category/pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.kratik.net</link>
	<description>Every thing you imagin, study it - know it - use it</description>
	<lastBuildDate>Thu, 24 Jun 2010 08:30:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Frameworks</title>
		<link>http://dev.kratik.net/index.php/2007/11/17/php-frameworks/</link>
		<comments>http://dev.kratik.net/index.php/2007/11/17/php-frameworks/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 12:18:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Pattern]]></category>
		<category><![CDATA[Ruby & Phython]]></category>

		<guid isPermaLink="false">http://dev1.wordpress.com/2007/11/17/php-frameworks/</guid>
		<description><![CDATA[<p>มี Programmer หลายคนที่มักพูดว่า PHP เป็นเพียง web script ธรรมดาที่ไม่สามารถนำมาใฃ้ในการเป็น Enterprise Application ใหญ่ได้ และมักดูถูกภาษา PHP อยู่เสมอ นั่นเป็นความจริงเพียงบางส่วนเท่านั้น</p>
<p>สิ่งสำคัญสิ่งหนึ่งที่ PHP ไม่มีเหมือน JSP หรือ .NET ก็คือ มันไม่มีมาตรฐาน framework ที่กำหนดข้อบังคับในการเขียนโปรแกรม ทำให้การ maintain application ใหญ่นั้น ยุ่งยากและซับซ้อนเป็นอย่างยิ่ง</p>
<p>แต่ปัจจุบันนั้น ได้มี framwork หลายตัวกำเนิดขึ้นมา ทำให้การสร้าง application ใหญ่ๆด้วย PHP นั้น สามารถทำได้ง่ายดายยิ่งกว่า การเขียนด้่วย JSP หรือ ภาษาอื่นๆนัก</p>
<p>Frameworks ที่ผมอยากแนะนำ เหล่าีนี้ ส่วนใหญ่มีต้นแบบมาจาก Ruby on Rails ซึ่งถือว่าเป็น web application framwork ที่โด่งดังที่สุดในโลกตอนนี้</p>
<p>แล้วทำไมผมไม่ใช้ Ruby เขียนเลยละ [...]]]></description>
			<content:encoded><![CDATA[<p>มี Programmer หลายคนที่มักพูดว่า PHP เป็นเพียง web script ธรรมดาที่ไม่สามารถนำมาใฃ้ในการเป็น Enterprise Application ใหญ่ได้ และมักดูถูกภาษา PHP อยู่เสมอ นั่นเป็นความจริงเพียงบางส่วนเท่านั้น</p>
<p>สิ่งสำคัญสิ่งหนึ่งที่ PHP ไม่มีเหมือน JSP หรือ .NET ก็คือ มันไม่มีมาตรฐาน framework ที่กำหนดข้อบังคับในการเขียนโปรแกรม ทำให้การ maintain application ใหญ่นั้น ยุ่งยากและซับซ้อนเป็นอย่างยิ่ง</p>
<p>แต่ปัจจุบันนั้น ได้มี framwork หลายตัวกำเนิดขึ้นมา ทำให้การสร้าง application ใหญ่ๆด้วย PHP นั้น สามารถทำได้ง่ายดายยิ่งกว่า การเขียนด้่วย JSP หรือ ภาษาอื่นๆนัก<img src="http://www.h3rald.com/img/pictures/rails.gif" style="float:left;" class="left" /></p>
<p>Frameworks ที่ผมอยากแนะนำ เหล่าีนี้ ส่วนใหญ่มีต้นแบบมาจาก Ruby on Rails ซึ่งถือว่าเป็น web application framwork ที่โด่งดังที่สุดในโลกตอนนี้</p>
<p>แล้วทำไมผมไม่ใช้ Ruby เขียนเลยละ อ่ะ.. ก็ผมถนัด PHP นี่ครับ และอย่างไร PHP ก็ืถือเป็นภาษาที่นิยมที่สุดบน web และมีผู้ support มากที่สุด (ไม่เชือลองหา hosting ที่ support Ruby ในประเทศไทยดูดิ)</p>
<p>Frameworks ที่ผมนำมาแนะนำวันนี้ 6 ยี่ห้อ นำมาจาก web ของ H3RALD.COM ซึ่งได้เปรียบเทียบข้อดีข้อเสียของแต่ละ frameworks ได้อย่างเข้าใจง่ายมาก</p>
<p><span id="more-280"></span></p>
<p>CakePHP</p>
<p><img src="http://www.h3rald.com/img/pictures/CakePHP_1.0.png" style="float:right;" class="right" /> <strong>Website:</strong> <a href="http://www.cakephp.org/">www.cakephp.org</a><br />
<strong>PHP version:</strong> <span class="caps">PHP4 </span>and <span class="caps">PHP5</span><br />
<strong>License:</strong> <span class="caps">MIT</span><sup><a href="http://www.h3rald.com/articles/view/rails-inspired-php-frameworks/#fn5">5</a></sup><br />
<strong>Download size (.tar.gz):</strong> 184KB<br />
<strong>Supported Databases:</strong> MySQL, PostgreSQL, SQlite, MS <span class="caps">SQL </span>+ any other supported by <span class="caps">ADO</span>db or <span class="caps">PEAR</span>::DB database abstraction layers<br />
<strong>Beginner’s Tutorial</strong>: <a href="http://wiki.cakephp.org/tutorials:blog_tutorial_-_1">Blog Tutorial</a></p>
<p><strong>Official Description:</strong><br />
<em>“Cake is a rapid development framework for <span class="caps">PHP </span>which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and <span class="caps">MVC.</span> Our primary goal is to provide a structured framework that enables <span class="caps">PHP </span>users at all levels to rapidly develop robust web applications, without any loss to flexibility.”</em></p>
<p><strong>PROs:</strong></p>
<ul>
<li>Lightweight, not bloated, containing only essential code</li>
<li>Runs both on <span class="caps">PHP4 </span>and <span class="caps">PHP5</span></li>
<li>No configuration needed &#8211; except for a stupidly short database configuration file and a few constants which <em>can</em> be modified. You can literally start baking in less than five minutes</li>
<li>Extended table association support, allowing the creation of complex database architechtures</li>
<li>Extremely logical and functional directory structure: better than Rails, if you ask me.</li>
<li>Enhanced <span class="caps">AJAX </span>support through the <span class="caps">AJAX </span>and Javascript view helpers</li>
<li>useful “bake” command line script to generate parts of the code automatically</li>
<li>Very active community and plenty of <em>satellite sites</em></li>
<li>Suitable for every kind of website, from the small personal site to the advanced e-business application.</li>
</ul>
<p><strong>CONs:</strong></p>
<ul>
<li>No “official” internationalization support for now, but it will be included in the next milestone.</li>
<li>It does not take fully advantage of <span class="caps">PHP5 </span>features</li>
<li>Official documentation still needs some some improvement, although now it seems pretty complete and exhaustive.</li>
</ul>
<p><strong>Comments:</strong><br />
CakePHP is my personal favorite: easy to learn, easy to use,multi-purpose and not bloated. Cake’s philosophy is not to include unnecessary code in the framework unless it’s absolutely necessary for the framework itself, as a result, 3rd-party libraries are not included in the official releases, but may be seamlessly integrated with the framework <em>if developers need them</em>.<br />
Cake’s success is partly determined &#8211; at least initially &#8211; by the fact that it can run fine with no limitations on <span class="caps">PHP4, </span>while other similar frameworks don’t. Although this may still be one of its most obvious strengths, it must be said that Cake seems to go in the right direction, taking only the best from Rails, without forcing developers into complex and pointless adaptations, and evolving into a great framework created <em>in <span class="caps">PHP, </span>for <span class="caps">PHP</span></em>.</p>
<p><em>DevMonkey Comment: CakePHP เป็น framework ที่ผมใช้ทำงานอยู่เป็นประจำ ยังไงผมจะเล่ารายละเอียดของ framework นี้ใน blogs ต่อๆไปของผมครับ </em>Symfony</p>
<p><img src="http://www.h3rald.com/img/pictures/symfony.gif" style="float:right;" class="right" /> <strong>Website:</strong> <a href="http://www.symfony-project.com/">www.synfony.project.com</a><br />
<strong>PHP version:</strong> <span class="caps">PHP5</span><br />
<strong>License:</strong> Symfony<sup><a href="http://www.h3rald.com/articles/view/rails-inspired-php-frameworks/#fn6">6</a></sup><br />
<strong>Download size (.tgz):</strong> 1255KB<br />
<strong>Supported Databases:</strong> MySQL, PostgreSQL, <span class="caps">SQL</span>ite, Oracle, MS <span class="caps">SQL </span>+ any other supported by Creole database abstraction layer<br />
<strong>Beginner’s Tutorial</strong>: <a href="http://www.symfony-project.com/tutorial/my_first_project.html">My first project</a></p>
<p><strong>Official Description:</strong><br />
<em>“Based on the best practices of web development, thoroughly tried on several active websites, symfony aims to speed up the creation and maintenance of web applications, and to replace the repetitive coding tasks by power, control and pleasure. […]</em><br />
<em>Symfony is an object-oriented <span class="caps">PHP5 </span>framework based on the <span class="caps">MVC </span>model. Symfony allows for the separation of business rules, server logic and presentation views of a web application. It also contains numerous tools and classes aimed at shortening the development time of a complex web application.”</em></p>
<p><strong>PROs:</strong></p>
<ul>
<li>Fully featured framework, includes everything you might ever need (see <span class="caps">CON</span>s, below)</li>
<li>Full native internationalization support</li>
<li>Truly excellent documentation, tutorials, wiki, book, screencasts, <span class="caps">API, </span>real-world examples, etc. etc.</li>
<li>Code generators</li>
<li>Various “pre-built” modules/libraries for the most common tasks</li>
<li>It was not inspired only by Rails, but borrows concepts and practices from various other frameworks</li>
<li>Good community support</li>
</ul>
<p><strong>CONs:</strong></p>
<ul>
<li>Seems too big compared to the others, too many “extras” which may not be useful to <em>all</em> developers</li>
<li><span class="caps">PHP5 </span>only</li>
<li>Confusing and disorganized directory structure</li>
<li>Uses too many configuration files, not suitable for <em>simple</em> projects</li>
<li>Steep learning curve</li>
</ul>
<p><strong>Comments:</strong><br />
Symfony is really an interesting framework: it’s perhaps the most <em>complete</em> in terms for features and documentation. The only problem I have with it is that it just seems too complex and rather difficult to learn if compared to the others, which can do <em>almost</em> the same things (or will soon be able to) in a <em>MUCH</em> simpler way. A nice blend of <span class="caps">MVC, </span>pre-built components, command line generators and <span class="caps">YAML</span>/Propel configuration files, but perhaps a bit <em>disorganized</em> in its internal structure, unlike its wonderful documentation and support section.</p>
<p><span class="caps">PHP </span>on Trax</p>
<p><img src="http://www.h3rald.com/img/pictures/phpontrax.jpg" style="float:right;" class="right" /> <strong>Website:</strong> <a href="http://www.phpontrax.com/">www.phpontrax.com</a><br />
<strong>PHP version:</strong> <span class="caps">PHP5</span><br />
<strong>License:</strong> <span class="caps">MIT</span><br />
<strong>Download size (.tgz):</strong> 843KB<br />
<strong>Supported Databases:</strong> Any database supported by <span class="caps">PEAR</span>::DB<br />
<strong>Beginner’s Tutorial</strong>: <a href="http://svn.phpontrax.com/wiki/HowToCreateATraxApplication">How to create a Trax application</a></p>
<p><strong>Official Description:</strong><br />
<em>“Php On Trax (formerly Php On Rails) is a web-application and persistance framework that is based on Ruby on Rails and includes everything needed to create database-backed web-applications according to the Model-View-Control pattern of separation.”</em></p>
<p><strong>PROs:</strong></p>
<ul>
<li>Simple, logical, essential: a true RoR port to <span class="caps">PHP5</span></li>
<li>Code generators, like Rails</li>
<li>Zero configuration (like Rails and Cake</li>
<li>Easy and logical directory structure (the same as Rails)</li>
<li>Supports table associations, but more in a way which is more similar to Ruby on Rails than Cake.</li>
</ul>
<p><strong>CONs:</strong></p>
<ul>
<li>Lack of documentation compared to the others</li>
<li>Trying to port Ruby on Rails to <span class="caps">PHP, </span>ignoring why RoR was not built in <span class="caps">PHP </span>in the first place<sup><a href="http://www.h3rald.com/articles/view/rails-inspired-php-frameworks/#fn7">7</a></sup></li>
<li>No internationalization or other advanced functionalities</li>
<li><span class="caps">PHP5 </span>only</li>
<li>Small community</li>
<li><span class="caps">DBO </span>class based only on <span class="caps">PEAR</span>::DB</li>
</ul>
<p><strong>Comments:</strong><br />
In my opinion this project aims too much to be a Rails-clone to acquire a proper consensus. Trying to port something to another language is not good, especially in the case of Rails and Ruby. This framework looks somehow like an old version of CakePHP, which evolved slightly but always remained anchored to its beliefs of building a Rails port for <span class="caps">PHP </span>(even in the name!). Some may say that this is a lost battle since the beginning &#8211; or better, since before it started &#8211; but others found that <span class="caps">PHP </span>on Trax can be the easiest way to switch from Ruby on Rails to a <span class="caps">PHP </span>equivalent. Who is going to do that? Well, Ruby programmers <em>forced</em> to develop in <span class="caps">PHP, </span>maybe. Not too good, but not too bad either.</p>
<h3>Code Igniter</h3>
<p><img src="http://www.h3rald.com/img/pictures/codeigniter.jpg" style="float:right;" class="right" /> <strong>Website:</strong> <a href="http://www.codeigniter.com/">www.codeigniter.org</a><br />
<strong>PHP version:</strong> <span class="caps">PHP4 </span>and <span class="caps">PHP5</span><br />
<strong>License:</strong> CodeIgniter<sup><a href="http://www.h3rald.com/articles/view/rails-inspired-php-frameworks/#fn8">8</a></sup><br />
<strong>Download size (.zip):</strong> 609KB<br />
<strong>Supported Databases:</strong> MySQL, PostgreSQL, <span class="caps">SQL</span>ite, MySQLi, MS <span class="caps">SQL </span>+ <span class="caps">ODBC</span><br />
<strong>Beginner’s Tutorial</strong>: <a href="http://www.codeigniter.com/videos/ci_intro.mov">Hello World! Introduction to Code Igniter</a> [video]</p>
<p><strong>Official Description:</strong><br />
<em>“Code Igniter is an Open Source Web Application Framework that makes writing kick-ass <span class="caps">PHP </span>programs simple as apple pie. […] Designed to enable, not overwhelm, Code Igniter is a powerful <span class="caps">PHP </span>framework with a very small footprint, built for <span class="caps">PHP </span>coders who need a simple and elegant toolkit to create full-featured web applications.</em><br />
<em>If you’re a developer who lives in the real world of shared hosting accounts and clients with deadlines, and if you’re tired of ponderously large and thoroughly undocumented frameworks that require rocket science to understand, Code Igniter might just be the right tool for you.”</em></p>
<p><strong>PROs:</strong></p>
<ul>
<li>Good and organized documentation</li>
<li>Zero configuration (like Rails and Cake)</li>
<li>Includes various classes and libraries for common tasks</li>
<li>Compatible with <span class="caps">PHP4 </span>and <span class="caps">PHP5</span></li>
<li>Medium-sized community</li>
<li>Intuitive directory structure</li>
<li>Ships with the full user guide included in separate <span class="caps">HTML </span>files</li>
</ul>
<p><strong>CONs:</strong></p>
<ul>
<li>No full (“written”) tutorials except the videos!</li>
<li>Relatively new to the scene, but growing</li>
<li>Does not seem to support table associations.</li>
</ul>
<p><strong>Comments:</strong><br />
People on the Net seem to be rather enthusiastic about this framework: where there’s a thread about the <em>big ones</em> (Cake and Symfony), there’s always, someone who pops in suggesting to try out Code Igniter. I personally think this can be a true bless for small/medium sized projects, however, I’d opt for CakePHP or Symfony for a large scale application: something is missing, e.g., most notably, table associations.</p>
<h3>Biscuit</h3>
<p><img src="http://www.h3rald.com/img/pictures/biscuit.gif" style="float:right;" class="right" /> <strong>Website:</strong> <a href="http://biscuitproject.tigris.org/">biscuitproject.tigris.org</a><br />
<strong>PHP version:</strong> <span class="caps">PHP4 </span>and <span class="caps">PHP5</span><br />
<strong>License:</strong> <span class="caps">MIT</span><sup><a href="http://www.h3rald.com/articles/view/rails-inspired-php-frameworks/#fn5">5</a></sup><br />
<strong>Download size (.zip):</strong> 240KB<br />
<strong>Supported Databases:</strong> Any database supported by <span class="caps">PEAR</span>::DB<br />
<strong>Beginner’s Tutorial</strong>: <a href="http://bennolan.com/biscuit/tutorial.html">Creating a simple application using the Biscuit <span class="caps">MVC </span>framework</a></p>
<p><strong>Official Description:</strong><br />
<em>“The mission of this project is to port Ruby on Rails to <span class="caps">PHP5 </span>(minus the Ruby part <img src="http://devmonkey.preeburan.com/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley" /> ”</em></p>
<p><strong>PROs:</strong></p>
<ul>
<li>Zero configuration, easy to deploy</li>
<li>Runs both on <span class="caps">PHP4 </span>and <span class="caps">PHP5</span></li>
<li>Simple to learn</li>
</ul>
<p><strong>CONs:</strong></p>
<ul>
<li>Still under development and incomplete</li>
<li>Offers a limited subset of the features and functionalities offered by competitors: no internationalization, no table associations, no scaffolding…</li>
<li><em>“Documentation coming soon”</em></li>
<li>Almost non-existent community</li>
</ul>
<p><strong>Comments:</strong><br />
This project started as an attempt to create something simpler than CakePHP and more similar to Rails. I’m not sure whether the project is still active or not, since the last “release” on the former’s developer site is dated August 2005. Still in early stage &#8211; or dead.</p>
<h3>Pipeline</h3>
<p><img src="http://www.h3rald.com/img/pictures/livepipe.jpg" style="float:right;" class="right" /> <strong>Website:</strong> <a href="http://livepipe.net/pipeline/">livepipe.net/pipeline/</a><br />
<strong>PHP version:</strong> <span class="caps">PHP5</span><br />
<strong>License:</strong> Pipeline<sup><a href="http://www.h3rald.com/articles/view/rails-inspired-php-frameworks/#fn9">9</a></sup><br />
<strong>Download size (.zip):</strong> 288KB<br />
<strong>Supported Databases:</strong> <span class="caps">SQL</span>ite<br />
<strong>Beginner’s Tutorial</strong>: none</p>
<p><strong>PROs:</strong></p>
<ul>
<li>Simple directory structure</li>
<li>Suitable for small projects</li>
<li>Comes with various ready-made components</li>
<li>Supports table relationships</li>
</ul>
<p><strong>CONs:</strong></p>
<ul>
<li><span class="caps">PHP5</span>-only</li>
<li>Too restrictive: only <span class="caps">SQL</span>ite supported, <em>kindly suggests</em> developers to use its built-in features only</li>
<li>No documentation or tutorials, just the <span class="caps">API </span></li>
<li>Not suitable for large projects</li>
<li>Almost non-existent community</li>
</ul>
<p><strong>Comments:</strong><br />
This project mainly borrowed the <span class="caps">MVC </span>architecture and some basic concepts from Rails, creating a simple <span class="caps">PHP5 </span>framework with personal/small websites in mind: it offers various built-in components which can be handy to most of us, supports <em>only</em> <span class="caps">SQL</span>ite, and basically tells developers what to do. In my opinion it’s not flexible enough to be compared to the others, and it’s simply not suitable for anything other than small websites.</p>
<h3>Conclusions</h3>
<p>My favorite framework still remains CakePHP, it’s simple and yet powerful, easy to learn and use, mature, well supported and continuously improving. Symfony &#8211; at the moment &#8211; seems to be the one with most features and the best documentation, and it is an excellent and well supported project. The only problem I have with it is the scary amount of configuration files necessary to create an application: CakePHP doesn’t need any and can be used for (almost?) equally complex projects.<br />
Although I didn’t have a chance to try them out, <span class="caps">PHP </span>on Trax is certainly the most faithful port of Ruby on Rails to <span class="caps">PHP, </span>but it lacks some of the features CakePHP and Symfony offer. Code Igniter may not be as advanced as the others, but its community seems to grow and its simplicity may appeal more users in the future…</p>
<p>At any rate, developers should <em>always</em> choose the best framework for their needs: I tried to write a quick comparative analysis of these six Rails’ “PHP children”, now it’s <em>your</em> turn, try out some of them, if you choose wisely you won’t be disappointed.</p>
<h3>Notes</h3>
<p class="footnote"><sup>1</sup> They are all distributed according to various Open Source licenses.</p>
<p class="footnote"><sup>2</sup> <a href="http://www.rubyonrails.org/">Ruby on Rails</a> &#8211; Ruby framework for web development</p>
<p class="footnote"><sup>3</sup> <a href="http://www.cakephp.org/">CakePHP</a> &#8211; Rapid [PHP] Development Framework</p>
<p class="footnote"><sup>4</sup> <a href="http://www.h3rald.com/articles/view/cakephp">CakePHP &#8211; A ‘tasty’ solution for <span class="caps">PHP </span>programming</a>, originally published on <a href="http://www.zzine.org/articles/cakephp">zZine Magazine</a></p>
<p class="footnote"><sup>5</sup> Open Source <a href="http://www.opensource.org/licenses/mit-license.php"><span class="caps">MIT</span> License</a>.</p>
<p>Symfony License:</p>
<blockquote><p>Copyright © 2004-2006 Fabien Potencier<br />
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p><span class="caps">THE SOFTWARE</span> IS <span class="caps">PROVIDED </span>“AS IS”, <span class="caps">WITHOUT WARRANTY</span> OF <span class="caps">ANY KIND, EXPRESS</span> OR <span class="caps">IMPLIED, INCLUDING BUT NOT LIMITED</span> TO <span class="caps">THE WARRANTIES</span> OF <span class="caps">MERCHANTABILITY, FITNESS FOR</span> A <span class="caps">PARTICULAR PURPOSE AND NONINFRINGEMENT.</span> IN NO <span class="caps">EVENT SHALL THE AUTHORS</span> OR <span class="caps">COPYRIGHT HOLDERS</span> BE <span class="caps">LIABLE FOR ANY CLAIM, DAMAGES</span> OR <span class="caps">OTHER LIABILITY, WHETHER</span> IN AN <span class="caps">ACTION</span> OF <span class="caps">CONTRACT, TORT</span> OR <span class="caps">OTHERWISE, ARISING FROM, OUT</span> OF OR IN <span class="caps">CONNECTION WITH THE SOFTWARE</span> OR <span class="caps">THE USE</span> OR <span class="caps">OTHER DEALINGS</span> IN <span class="caps">THE SOFTWARE.</span></p>
</blockquote>
<p class="footnote"><sup>7</sup> Read the comments by David Heinemeier Hansson on <a href="http://www.37signals.com/svn/archives/000606.php">Ruby on Rails to Basecamp</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.kratik.net/index.php/2007/11/17/php-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>API(Application Programming Interface)</title>
		<link>http://dev.kratik.net/index.php/2007/10/23/apiapplication-programming-interface/</link>
		<comments>http://dev.kratik.net/index.php/2007/10/23/apiapplication-programming-interface/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 09:01:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OTHER]]></category>
		<category><![CDATA[Pattern]]></category>

		<guid isPermaLink="false">http://dev1.wordpress.com/2007/10/23/apiapplication-programming-interface/</guid>
		<description><![CDATA[<p>คือเป็น library (ชิ้นส่วนของ function/module/utility) ที่เขาสร้างขึ้นมาให้ผู้ที่พัฒนา Application เรียกใช้งานได้เลย</p>
<p>เหตุที่เรียกอย่างนี้ คือ อาจจะมีชิ้นส่วนของ function/module/utility บางอย่างอยู่ข้างในที่เขาไม่เปิดเผยนะครับ ส่วนที่เปิดเผย (API) ก็คือส่วนที่ติดต่อ (Interface) ระหว่างกลไกภายใน กับโปรแกรมของเรา</p>
<p>http://code.google.com/apis/
http://code.google.com/apis/ajax/
http://developer.yahoo.com/yui/animation/</p>
]]></description>
			<content:encoded><![CDATA[<p>คือเป็น library (ชิ้นส่วนของ function/module/utility) ที่เขาสร้างขึ้นมาให้ผู้ที่พัฒนา Application เรียกใช้งานได้เลย</p>
<p>เหตุที่เรียกอย่างนี้ คือ อาจจะมีชิ้นส่วนของ function/module/utility บางอย่างอยู่ข้างในที่เขาไม่เปิดเผยนะครับ ส่วนที่เปิดเผย (API) ก็คือส่วนที่ติดต่อ (Interface) ระหว่างกลไกภายใน กับโปรแกรมของเรา</p>
<p><a href="http://code.google.com/apis/">http://code.google.com/apis/</a><br />
<a href="http://code.google.com/apis/ajax/">http://code.google.com/apis/ajax/</a><br />
<a href="http://developer.yahoo.com/yui/animation/">http://developer.yahoo.com/yui/animation/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.kratik.net/index.php/2007/10/23/apiapplication-programming-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOA กับ Web Services เหมือนหรือแตกต่างกันอย่างไร</title>
		<link>http://dev.kratik.net/index.php/2007/06/14/soa-%e0%b8%81%e0%b8%b1%e0%b8%9a-web-services-%e0%b9%80%e0%b8%ab%e0%b8%a1%e0%b8%b7%e0%b8%ad%e0%b8%99%e0%b8%ab%e0%b8%a3%e0%b8%b7%e0%b8%ad%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87/</link>
		<comments>http://dev.kratik.net/index.php/2007/06/14/soa-%e0%b8%81%e0%b8%b1%e0%b8%9a-web-services-%e0%b9%80%e0%b8%ab%e0%b8%a1%e0%b8%b7%e0%b8%ad%e0%b8%99%e0%b8%ab%e0%b8%a3%e0%b8%b7%e0%b8%ad%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 03:17:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Pattern]]></category>

		<guid isPermaLink="false">http://dev1.wordpress.com/2007/06/14/soa-%e0%b8%81%e0%b8%b1%e0%b8%9a-web-services-%e0%b9%80%e0%b8%ab%e0%b8%a1%e0%b8%b7%e0%b8%ad%e0%b8%99%e0%b8%ab%e0%b8%a3%e0%b8%b7%e0%b8%ad%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87/</guid>
		<description><![CDATA[<p>SOA เป็นรูปแบบของการพัฒนาซอฟต์แวร์ที่เน้นให้ซอฟต์แวร์สามารถให้บริการได้โดยไม่มีเงื่อนไขหรือข้อกำหนดของแพลตฟอร์มที่ใช้ของผู้ร้องขอบริการ   ส่วน Web service เป็นซอฟต์แวร์ที่ให้บริการผ่านทางอินเทอร์เน็ตซึ่งข้อมูลระหว่างผู้ให้บริการและผู้ขอบริการอยู่ในรูปแบบของภาษาเอกซ์เอ็มแอล    ฉะนั้นจริง ๆ แล้ว Web service คือซอฟต์แวร์ที่สามารถพัฒนาในอยู่ในรูปแบบของ SOA    การที่ผู้ให้บริการ Web service และ ผู้ร้องขอ Web service สื่อสารกันด้วยภาษาเอกซ์เอ็มแอลซึ่งเป็นภาษามาตรฐานที่ใช้ในการนำเสนอและแลกเปลี่ยนข้อมูลผ่านทางอินเทอร์เน็ต  จึงทำให้การเรียกใช้ Web service ไม่ขึ้นอยู่กับแพลตฟอร์มของผู้เรียกใช้   โดยสรุปแล้ว SOA เป็นสไตล์หรือเป็นรูปแบบ  โดยสรุปแล้ว SOA เป็นสไตล์หรือเป็นรูปแบบ  ส่วน Web service Technology เป็นวิธีการพัฒนา ความสัมพันธ์ระหว่าง SOA และ Web Services ก็คือ Web service เป็นซอฟต์แวร์ที่ทำให้ SOA เกิดขึ้นจริงและใช้ได้จริง
</p>
]]></description>
			<content:encoded><![CDATA[<p>SOA <span style="font-size:14pt;line-height:115%;font-family:'Cordia New','sans-serif';">เป็นรูปแบบของการพัฒนาซอฟต์แวร์ที่เน้นให้ซอฟต์แวร์สามารถให้บริการได้โดยไม่มีเงื่อนไขหรือข้อกำหนดของแพลตฟอร์มที่ใช้ของผู้ร้องขอบริการ<span>   </span>ส่วน </span>Web service <span style="font-size:14pt;line-height:115%;font-family:'Cordia New','sans-serif';">เป็นซอฟต์แวร์ที่ให้บริการผ่านทางอินเทอร์เน็ตซึ่งข้อมูลระหว่างผู้ให้บริการและผู้ขอบริการอยู่ในรูปแบบของภาษาเอกซ์เอ็มแอล<span>    </span>ฉะนั้นจริง ๆ แล้ว </span>Web service <span style="font-size:14pt;line-height:115%;font-family:'Cordia New','sans-serif';">คือซอฟต์แวร์ที่สามารถพัฒนาในอยู่ในรูปแบบของ </span>SOA<span>    </span><span style="font-size:14pt;line-height:115%;font-family:'Cordia New','sans-serif';">การที่ผู้ให้บริการ </span>Web service <span style="font-size:14pt;line-height:115%;font-family:'Cordia New','sans-serif';">และ ผู้ร้องขอ </span>Web service <span style="font-size:14pt;line-height:115%;font-family:'Cordia New','sans-serif';">สื่อสารกันด้วยภาษาเอกซ์เอ็มแอลซึ่งเป็นภาษามาตรฐานที่ใช้ในการนำเสนอและแลกเปลี่ยนข้อมูลผ่านทางอินเทอร์เน็ต<span>  </span>จึงทำให้การเรียกใช้ </span>Web service <span style="font-size:14pt;line-height:115%;font-family:'Cordia New','sans-serif';">ไม่ขึ้นอยู่กับแพลตฟอร์มของผู้เรียกใช้<span>   </span>โดยสรุปแล้ว </span>SOA <span style="font-size:14pt;line-height:115%;font-family:'Cordia New','sans-serif';">เป็นสไตล์หรือเป็นรูปแบบ<span>  โดยสรุปแล้ว SOA เป็นสไตล์หรือเป็นรูปแบบ  ส่วน Web service Technology เป็นวิธีการพัฒนา ความสัมพันธ์ระหว่าง SOA และ Web Services ก็คือ Web service เป็นซอฟต์แวร์ที่ทำให้ SOA เกิดขึ้นจริงและใช้ได้จริง<br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.kratik.net/index.php/2007/06/14/soa-%e0%b8%81%e0%b8%b1%e0%b8%9a-web-services-%e0%b9%80%e0%b8%ab%e0%b8%a1%e0%b8%b7%e0%b8%ad%e0%b8%99%e0%b8%ab%e0%b8%a3%e0%b8%b7%e0%b8%ad%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
