<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>IT&#039;s High</title>
	<atom:link href="http://itshigh.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://itshigh.wordpress.com</link>
	<description>Development, Productivity</description>
	<lastBuildDate>Sun, 18 Oct 2009 10:58:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='itshigh.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>IT&#039;s High</title>
		<link>http://itshigh.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://itshigh.wordpress.com/osd.xml" title="IT&#039;s High" />
	<atom:link rel='hub' href='http://itshigh.wordpress.com/?pushpress=hub'/>
		<item>
		<title>what is RESTful API?</title>
		<link>http://itshigh.wordpress.com/2009/10/18/what-is-restful-api/</link>
		<comments>http://itshigh.wordpress.com/2009/10/18/what-is-restful-api/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 10:56:29 +0000</pubDate>
		<dc:creator>arain11</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://itshigh.wordpress.com/?p=24</guid>
		<description><![CDATA[RESTful architecture is getting more popular recently.. REST stands for REpresentational State Transfer and basically each URL represents data. For example) http://restful.com/api/feedx/user/id/1 (This is example I just made up) Above example returns the data whose id is 1 in feedx. Let&#8217;s see how twitter use RESTful API http://api.twitter.com/1/users/show/noradio.xml When you click this URL, it will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itshigh.wordpress.com&amp;blog=9750168&amp;post=24&amp;subd=itshigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>RESTful architecture is getting more popular recently..<br />
REST stands for REpresentational State Transfer and basically each URL represents data.</p>
<p>For example)<br />
http://restful.com/api/feedx/user/id/1 (This is example I just made up)<br />
Above example returns the data whose id is 1 in feedx.</p>
<p>Let&#8217;s see how twitter use RESTful API<a rel="nofollow" href="http://api.twitter.com/1/users/show/noradio.xml" target="_blank"><br />
http://api.twitter.com/1/users/show/noradio.xml</a><br />
When you click this URL, it will return all the information about user &#8216;noradio&#8217;.<br />
Twitter is planning to have many versions of API now; so, number 1 in above URL is actually version number.</p>
<p>As you see, REST is not some kind of complicated rocket science architecture..<br />
It&#8217;s just all about how to design URI to represent data. Examples are very simple but you might need to think a lot when you design RESTful dealing with a lot of data considering some conflict between URL..</p>
<p>For authentication, token or api_key is usually part of http request calling REST api and using curl in client side is very useful to handle the result. (http:<span style="color:#000000;font-weight:bold;">//</span>www.yoursite.com<span style="color:#000000;font-weight:bold;">/</span>items<span style="color:#000000;font-weight:bold;">/</span>1.xml?<span style="color:#007800;">api_key</span>=213egfewgr)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itshigh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itshigh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itshigh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itshigh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itshigh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itshigh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itshigh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itshigh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itshigh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itshigh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itshigh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itshigh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itshigh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itshigh.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itshigh.wordpress.com&amp;blog=9750168&amp;post=24&amp;subd=itshigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itshigh.wordpress.com/2009/10/18/what-is-restful-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b92152a3d113d88acbc3cc6ba2b2c049?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">William</media:title>
		</media:content>
	</item>
		<item>
		<title>Is &#8216;Analytic Function&#8217; good in Oracle?</title>
		<link>http://itshigh.wordpress.com/2009/10/04/is-analytic-function-good-in-oracle/</link>
		<comments>http://itshigh.wordpress.com/2009/10/04/is-analytic-function-good-in-oracle/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 07:49:39 +0000</pubDate>
		<dc:creator>arain11</dc:creator>
				<category><![CDATA[Performance Tunnig]]></category>
		<category><![CDATA[Analytic Function]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://itshigh.wordpress.com/?p=13</guid>
		<description><![CDATA[I worked in DB programing area many years&#8230;(Used Oracle 7 to 10g)&#8230; When I was using Oracle 7 and some version of 8, there was not &#8216;Analytic Function&#8217;; so, the only way to extract complicated aggregated data that business wanted with one SQL is to use Cartesian join, decode with group by, union all, and  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itshigh.wordpress.com&amp;blog=9750168&amp;post=13&amp;subd=itshigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I worked in DB programing area many years&#8230;(Used Oracle 7 to 10g)&#8230;<br />
When I was using Oracle 7 and some version of 8, there was not &#8216;Analytic Function&#8217;; so, the only way to extract complicated aggregated data that business wanted with one SQL is to use Cartesian join, decode with group by, union all, and  many inline SQL&#8230;</p>
<p><span style="color:#0000ff;">Some developers like using many SQL queries writing down every logic in their code..<br />
However, I am telling you that there is big difference between using one SQL that includes all logic and many SQL queries with messy source code that has all logic. ( I am not discussing this in this article..)</span></p>
<p>Developer had to understand and have a clear concept of SET to implement what I mentioned above with One SQL but most of developers had a problem with it because the way to write a programing code was all about PROCEDURE that&#8217;s totally opposite from SET.</p>
<p>Luckily Oracle announced Analytic Function from version 8.1.6 and then developer who doesn&#8217;t have a SET concept can write a very good and effective SQL to make a report.  But let&#8217;s remember that this Analytic Function is only available in Oracle DB and the recent trend is small DB for light App that&#8217;s mostly Web App.  That&#8217;s why Mysql, Postgre, etc are getting more popular.. What if you need to make a report that has complicated cumulative sum with many levels in other DB?</p>
<p><span style="color:#ff0000;">Function is just function and tool is just tool..Developer using SQL should understand SET first and then use whatever function and tool they want..</span></p>
<p>Following is just example of SQL using Analytic Function and the next one is just SQL using SET concept.</p>
<p>I wrote following query based on default schema in Oracle with scott user.</p>
<p>Example of Analytic Function<br />
<span style="color:#0000ff;"><em>Select deptno as dept, ename as name, sal as salary,<br />
row_number() over (Partition by deptno order by ename) as &#8220;SEQ in dept&#8221;,<br />
sum(sal) over (Partition by deptno order by ename) as &#8220;Cumulative Sum in dept&#8221;,<br />
row_number() over (order by deptno, ename) as &#8220;SEQ&#8221;,<br />
sum(sal) over (order by deptno, ename) as &#8220;Cumulative Sum&#8221;<br />
from emp;</em></span></p>
<p>Example of just using SET concept<br />
<em><span style="color:#0000ff;">Select emp1.deptno, emp1.ename, emp1.sal, sum(emp.sal), count(*)<br />
from emp emp, emp emp1<br />
where emp.deptno = emp1.deptno<br />
and emp.ename &lt;= emp1.ename<br />
group by emp1.deptno, emp1.ename, emp1.sal</span></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itshigh.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itshigh.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itshigh.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itshigh.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itshigh.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itshigh.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itshigh.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itshigh.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itshigh.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itshigh.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itshigh.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itshigh.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itshigh.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itshigh.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itshigh.wordpress.com&amp;blog=9750168&amp;post=13&amp;subd=itshigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itshigh.wordpress.com/2009/10/04/is-analytic-function-good-in-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b92152a3d113d88acbc3cc6ba2b2c049?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">William</media:title>
		</media:content>
	</item>
		<item>
		<title>How to install Symfony on MAC with MAMP</title>
		<link>http://itshigh.wordpress.com/2009/10/02/how-to-install-symfony-on-mac-with-mamp/</link>
		<comments>http://itshigh.wordpress.com/2009/10/02/how-to-install-symfony-on-mac-with-mamp/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 12:10:57 +0000</pubDate>
		<dc:creator>arain11</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://itshigh.wordpress.com/?p=7</guid>
		<description><![CDATA[MAMP stands for Macintosh, Apache, Mysql and PHP and it&#8217;s perfect solution for Symfony on MAC machine. FYI, Windows OS also has a similar third party package called WAMP In this post, I will explain how to install MAMP and Virtual hosts.  Just so you know, I am using Snow Leopard; however, all this might [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itshigh.wordpress.com&amp;blog=9750168&amp;post=7&amp;subd=itshigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mamp.info/en/mamp/index.html" target="_blank">MAMP</a> stands for Macintosh, Apache, Mysql and PHP and it&#8217;s perfect solution for Symfony on MAC machine.<br />
FYI, Windows OS also has a similar third party package called <a href="http://www.wampserver.com/en/" target="_blank">WAMP</a></p>
<p>In this post, I will explain how to install MAMP and Virtual hosts.  Just so you know, I am using Snow Leopard; however, all this might apply to different Mac OS as well.</p>
<p>Installing MAMP is quite straightforward..just a couple of clicks..that&#8217;s it..<br />
Ah..don&#8217;t forget to set to Default Apache and MySQL Ports in Preference -&gt; Port option</p>
<p>And then you need Symfony project that you can download from<a href="http://www.symfony-project.org/installation/1_2" target="_blank"> Symfony Site</a><br />
When you are not familiar with Symfony, it&#8217;s good idea to download &#8216;Sand Box&#8217; in above link.</p>
<p>Ok..now all following things have to be done consequently..</p>
<p>1. Make a Directory for your Symfony Project that will be your root directory for web<br />
<span style="color:#0000ff;">$ mkdir /Applications/MAMP/htdocs/myproject</span></p>
<p>2. Let&#8217;s check out Symfony from SVN (<br />
<span style="color:#0000ff;"> sudo /Applications/MAMP/bin/php5/bin/peardev channel-discover pear.symfony-project.com<br />
sudo /Applications/MAMP/bin/php5/bin/peardev install symfony<span style="color:#0000ff;">/</span></span><span style="text-decoration:underline;"><span style="color:#0000ff;">symfony-1.2.9</span></span> (This can be different depending on version)</p>
<p>3. To use Symfony command on the command line, you need to make symbolic link like followings..<br />
<span style="color:#0000ff;">cd /usr/local/bin<br />
$ sudo ln -s /Applications/MAMP/bin/php5/bin/symfony symfony</span></p>
<p>4. Initialize it<span style="color:#0000ff;"><br />
cd /Applications/MAMP/htdocs/myproject</span><span style="color:#0000ff;"><br />
symfony generate:project myproject</span></p>
<p>5. Let&#8217;s generate Symfony app<br />
<span style="color:#0000ff;">Symfony generate:app myproject<br />
</span></p>
<p>6. Modify config/ProjectConfiguration.class.phpOpen above file and change require_once blahblahblah to<span style="color:#0000ff;"> require_once &#8216;<span style="color:#0000ff;">Applications/MAMP/bin/php5/lib/php/symfony</span>/autoload/sfCoreAutoload.class.php&#8217;;<br />
<span style="color:#000000;"><br />
7. S</span></span>et up a virtual host with Apache.<br />
Please open /Applications/MAMP/conf/apache/httpd.conf and please add following code at the bottom.<br />
<span style="color:#0000ff;"><br />
NameVirtualHost *</span></p>
<p>&lt;VirtualHost *&gt;<br />
ServerName myproject<br />
DocumentRoot &#8220;/Applications/MAMP/htdocs/myproject/web&#8221;<br />
DirectoryIndex index.php<br />
Alias /sf /Applications/MAMP/bin/php5/lib/php/data/symfony/web/sf<br />
&lt;Directory &#8220;/Applications/MAMP/bin/php5/lib/php/data/symfony/web/sf&#8221;&gt;<br />
AllowOverride All<br />
Allow from All<br />
&lt;/Directory&gt;<br />
&lt;Directory &#8220;/Applications/MAMP/htdocs/myproject/web&#8221;&gt;<br />
AllowOverride All<br />
Allow from All<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</p>
<p>8. open /etc/hosts file and add<br />
<span style="color:#0000ff;">sudo vi/etc/hosts</span></p>
<p>Then add 127.0.0.1  myproject to the end of the file. My hosts file looks like this:</p>
<p>##<br />
# Host Database<br />
#<br />
# localhost is used to configure the loopback interface<br />
# when the system is booting. Do not change this entry.<br />
##<br />
127.0.0.1       localhost</p>
<p><strong><span style="color:#0000ff;">127.0.0.1       myproject</span></strong></p>
<p>9. Restart your Apache in MAMP console.</p>
<p>10. Type <span style="color:#0000ff;">http://myproject</span> in web broswer~~~</p>
<p>11. Even if you finish all above, you might get error when you using propel stuff in symfony because now you have two PHP in your MAC.  PHP in MAMP is supposed to be used for symfony; so, let&#8217;s mofify your .bash_profile</p>
<p><span style="color:#0000ff;">sudo vi ~/.bash_profile<br />
PATH=&#8221;/Applications/MAMP/bin/php5/bin:${PATH}&#8221;<br />
export PATH</span></p>
<p>And then restart terminal..now try some propel command like<span style="color:#0000ff;"> symfony propel:insert-sql</span><br />
I assume that you already set up db connecetion using database.yml here.</p>
<p>If you find any problem from this posting and still struggling to get it done, please feel free to contact me <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itshigh.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itshigh.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itshigh.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itshigh.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itshigh.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itshigh.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itshigh.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itshigh.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itshigh.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itshigh.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itshigh.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itshigh.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itshigh.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itshigh.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itshigh.wordpress.com&amp;blog=9750168&amp;post=7&amp;subd=itshigh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itshigh.wordpress.com/2009/10/02/how-to-install-symfony-on-mac-with-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b92152a3d113d88acbc3cc6ba2b2c049?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">William</media:title>
		</media:content>
	</item>
	</channel>
</rss>
