
<?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>Accella Website &#187; Max Rakhimov</title>
	<atom:link href="http://www.accella.net/author/mrakhimov/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.accella.net</link>
	<description>Website &#38; Mobile Application Design &#38; Development</description>
	<lastBuildDate>Mon, 06 Feb 2012 20:39:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Theming image buttons in Drupal</title>
		<link>http://www.accella.net/theming-image-buttons-in-drupal/</link>
		<comments>http://www.accella.net/theming-image-buttons-in-drupal/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 11:35:21 +0000</pubDate>
		<dc:creator>Max Rakhimov</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=1012</guid>
		<description><![CDATA[Here is a simple code snippet for those who want to make some of the submit buttons on their Drupal website image buttons: The above code goes into your template.php file in your theme folder. Make sure to rename MYTHEME with your theme name. You can look up $element['#value'] from the page code, it is [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a simple code snippet for those who want to make some of the submit buttons on their Drupal website image buttons:</p>
<pre>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><span class="kw2">function</span> MYTHEME_button<span class="br0">&#40;</span><span class="re0">$element</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp;<span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$element</span><span class="br0">&#91;</span><span class="st_h">'#value'</span><span class="br0">&#93;</span> <span class="sy0">==</span> t<span class="br0">&#40;</span><span class="st_h">'Search'</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; <span class="re0">$element</span><span class="br0">&#91;</span><span class="st_h">'#src'</span><span class="br0">&#93;</span> <span class="sy0">=</span> drupal_get_path<span class="br0">&#40;</span><span class="st_h">'theme'</span><span class="sy0">,</span> <span class="st_h">'MYTHEME'</span><span class="br0">&#41;</span> <span class="sy0">.</span> <span class="st_h">'/images/search_button.png'</span><span class="sy0">;</span>
&nbsp; &nbsp; <span class="re0">$element</span><span class="br0">&#91;</span><span class="st_h">'#button_type'</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="st_h">'image_button'</span><span class="sy0">;</span>
&nbsp; <span class="br0">&#125;</span>
&nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$element</span><span class="br0">&#91;</span><span class="st_h">'#button_type'</span><span class="br0">&#93;</span> <span class="sy0">==</span> <span class="st_h">'image_button'</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp;<span class="kw1">return</span> theme_image_button<span class="br0">&#40;</span><span class="re0">$element</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; <span class="br0">&#125;</span>
&nbsp; <span class="kw1">else</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; <span class="kw1">return</span> theme_button<span class="br0">&#40;</span><span class="re0">$element</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; <span class="br0">&#125;</span>
<span class="br0">&#125;</span></div>
</div>
</pre>
<p>The above code goes into your template.php file in your theme folder. Make sure to rename MYTHEME with your theme name. You can look up $element['#value'] from the page code, it is the &#8216;value&#8217; of the button element. The code snippet is for Drupal 6.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/theming-image-buttons-in-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebOS 2.0 further integrates JavaScript, Node.js built-in.</title>
		<link>http://www.accella.net/webos-2-0-further-integrates-javascript-node-js-built-in/</link>
		<comments>http://www.accella.net/webos-2-0-further-integrates-javascript-node-js-built-in/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 19:56:34 +0000</pubDate>
		<dc:creator>Max Rakhimov</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Mobile Development]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=917</guid>
		<description><![CDATA[While the iPhone dominates the smartphone market and Android is improving by leaps and bounds, there are other platforms out there that may surprise us with some elegant solutions in coming years. RIM and Nokia are the big players in the game and Nokia just replaced its CEO with a senior Microsoft executive, Stephen Elop. [...]]]></description>
			<content:encoded><![CDATA[<p>While the iPhone dominates the smartphone market and Android is improving by leaps and bounds, there are other platforms out there that may surprise us with some elegant solutions in coming years. RIM and Nokia are the big players in the game and <a href="http://www.nokia.com/press/press-releases/showpressrelease?newsid=1443731">Nokia just replaced its CEO</a> with a senior Microsoft executive, Stephen Elop. It is no surprise considering that the largest smartphone maker in the world still does not have a compelling touchscreen smartphone.</p>
<p>But there is another big player lurking in the shadows that may come out with some very surprising products soon. With the acquisition of Palm, HP, the largest PC maker, has bet big on the smartphone market. And the key here is the webOS. Its elegant architecture and intuitive UI are what make it all so interesting.</p>
<p>The development of the second generation of the platform is going at full speed. Just a few days ago, <a href="http://developer.palm.com/blog/2010/08/announcing-early-access-for-webos-2-0/">HP announced an early developer release of webOS 2.0</a> which comes with a slate of new features, including JavaScript Services, which means that not only webOS apps, but also services can be written entirely in JavaScript, deprecating the need for Java runtime. If you have read <a href="http://www.accella.net/will-javascript-ever-make-it-to-the-server-side/">my last rant</a>, I am particularly interested in the Node.js framework. And this particular framework now powers JavaScript Services for webOS 2.0. This is a further shift away from standard C/C++/Java and towards JavaScript.</p>
<p>If HP succeeds with upcoming smartphone products and builds a healthy app ecosystem, the role of JavaScript will be further expanded. It is no longer a scripting language living inside your browser. JavaScript is quickly becoming a universal language that is everywhere &#8211; from your browser to your phone OS to big iron on the server-side.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/webos-2-0-further-integrates-javascript-node-js-built-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Will JavaScript ever make it to the server-side?</title>
		<link>http://www.accella.net/will-javascript-ever-make-it-to-the-server-side/</link>
		<comments>http://www.accella.net/will-javascript-ever-make-it-to-the-server-side/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 17:32:41 +0000</pubDate>
		<dc:creator>Max Rakhimov</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=747</guid>
		<description><![CDATA[We all know that today&#8217;s revolution in web apps is fueled by JavaScript and such libraries as JQuery, Dojo and Prototype. Pages nowadays load a ton of JavaScript in order to implement features that reside in a responsive client-side environment. Slideshows and other fancy effects of today are built with a few lines of code utilizing a [...]]]></description>
			<content:encoded><![CDATA[<p>We all know that today&#8217;s revolution in web apps is fueled by JavaScript and such libraries as JQuery, Dojo and Prototype. Pages nowadays load a ton of JavaScript in order to implement features that reside in a responsive client-side environment. Slideshows and other fancy effects of today are built with a few lines of code utilizing a combination of ready to use calls. JavaScript is as important as HTML and CSS in today&#8217;s web. No wonder Google&#8217;s Chrome focuses squarely on JavaScript performance. <a href="http://www.androidcentral.com/google-io-video-android-22-froyo-demo">The keynote speech at Google I/O</a> from last May is a prime example of this. Check out their demo at 16:10.</p>
<p>It is unquestionable that JavaScript has firmly established itself as a de-facto standard for client-side apps. But how about the back end? And is there really a need for JavaScript in the world of racks of servers running Apache, PHP, Python, Tomcat and Java in huge datacenters? After all, existing technologies have proven themselves. They bear the load of the Internet and quite successfully.</p>
<p>Turns out, old server-side technologies are not designed with real-time user interaction in mind. They are good at serving massive amounts of pages and have caching and scaling technologies to cope with increased load, but they are not really good for having constant back and forth communication with the user, which requires passing small amounts of data every time at a low latency.</p>
<p><a href="http://nodejs.org/">Enter Node.js</a>. It was developed by <a href="http://github.com/ry">Ryan Dahl</a> and made waves in the JS community last year. Node.js essentially implements the entire web stack with an event-oriented philosophy in mind. No more threads, no more I/O bottlenecks reading from file and database connections, it&#8217;s all callbacks. As in your browser.</p>
<p>This opens up new horizons for JavaScript. Not only it can be introduced to server-side, but it can provide some very real speed improvements. The technology is in its infancy at the moment, but the potential is there. Check out <a href="http://www.yuiblog.com/blog/2010/05/20/video-dahl">talk by Ryan Dahl</a>.</p>
<p>Who knows, maybe in 5 years there will be a massive migration to frameworks based on Node.js. Just like there is a massive migration from static webpages to rich web apps today.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/will-javascript-ever-make-it-to-the-server-side/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

