<?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>Oxagile Software Development Company Web Application Development Blog &#187; php</title>
	<atom:link href="http://blog.oxagile.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.oxagile.com</link>
	<description>Web and Mobile Application Development Services</description>
	<lastBuildDate>Wed, 21 Dec 2011 20:11:04 +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>Top 10 Most Welcomed IT Professions 2012</title>
		<link>http://blog.oxagile.com/2011/10/29/top-10-most-welcomed-it-professions-2012/</link>
		<comments>http://blog.oxagile.com/2011/10/29/top-10-most-welcomed-it-professions-2012/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 20:43:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.Net programming]]></category>
		<category><![CDATA[Java programming]]></category>
		<category><![CDATA[Mobile Application Development]]></category>
		<category><![CDATA[Software development methodologies]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[.net software developers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=1062</guid>
		<description><![CDATA[ 
   Despite the doubts in stability of the American economy in 2012, the research has showed that American companies are going to expand their IT staff. Analytics have found out what IT professions will be called for. The results of the annual research organized by Computerworld showed that 29% out of 353 [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2011/10/29/top-10-most-welcomed-it-professions-2012/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p>Despite the doubts in stability of the American economy in 2012, the research has showed that American companies are going to expand their IT staff. Analytics have found out what IT professions will be called for. The results of the annual research organized by Computerworld showed that 29% out of 353 IT-executive managers are planning to increase the number of their departments by the summer 2012.</p>
<p>‘The demand for IT-specialists in companies of all types and sizes is constantly growing’, says Mike McBrierty, the executive director of one of the biggest recruiting agencies the Eliassen Group. Moreover, according to his own words, the companies are planning to update the infrastructure and restart the realization of the projects postponed for the last 3 years.</p>
<p>As Computerworld claims, in 2012 the directors of IT departments have set teeth for implementing innovations and that’s why the most relevant for future employees will be the following nine main skills.<img class="alignright size-full wp-image-1064" style="margin: 5px;" title="business" src="http://blog.oxagile.com/wp-content/uploads/2011/10/business.jpg" alt="" width="275" height="201" /></p>
<p>•    web and <a href="http://www.oxagile.com/services/mobile-application-development">mobile application development</a> skills<br />
•    project management skills<br />
•    technical support and maintenance skills<br />
•    network technologies skills<br />
•    business analysis skills<br />
•    Web 2.0 technologies skills – more and more companies are planning to implement these technologies and the demand for <a href="http://www.oxagile.com/services/dedicated-programming-team">php/java/.net software developers</a> won’t decrease in 2012. Also there will be a big demand for <a href="http://www.oxagile.com/services/web-development/ria">Ajax GWT professional web developers</a> as well as the specialists in .Net, PHP, HTML, XML, CSS, Flash and Javascript.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2011/10/29/top-10-most-welcomed-it-professions-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud development: new Eclipse web development tool</title>
		<link>http://blog.oxagile.com/2011/02/12/cloud-development-new-eclipse-web-development-tool/</link>
		<comments>http://blog.oxagile.com/2011/02/12/cloud-development-new-eclipse-web-development-tool/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 16:19:41 +0000</pubDate>
		<dc:creator>krivitskayats</dc:creator>
				<category><![CDATA[Open source software]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Orion]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web application development]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=975</guid>
		<description><![CDATA[ 
   Eclipse has rolled out Orion, a new web development tool that will enable web application development in the cloud. Unlike Eclipse flagship products Orion is a browser-based tool designed to support widely-used web technologies and take these technologies to the cloud.

At the moment, Orion enables only JavaScript web development, though the [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2011/02/12/cloud-development-new-eclipse-web-development-tool/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p><img class="alignleft size-full wp-image-977" style="margin: 5px;" title="eclipse_2" src="http://blog.oxagile.com/wp-content/uploads/2011/02/eclipse_2.png" alt="" width="144" height="144" />Eclipse has rolled out Orion, a new web development tool that will enable <a title="Web application development services. Custom ecommerce, ERP, content management application development" href="http://www.oxagile.com/services/web-development">web application development</a> in the cloud. Unlike Eclipse flagship products Orion is a browser-based tool designed to support widely-used web technologies and take these technologies to the cloud.</p>
<div id="_mcePaste">
<p>At the moment, Orion enables only JavaScript web development, though the <a title="Software development company, web and mobile application development services" href="http://www.oxagile.com/">software development company</a> is planning to expand <a title="Java, .Net, PHP, Flash/Flex technology web application development &amp; software programming expertise" href="http://www.oxagile.com/expertise/by-technology">web developers’ expertise</a> and include the support for such languages as HTML, PHP and Java.</p>
</div>
<div id="_mcePaste">
<p>As emphasized by Mike Milinkovich, CEO of the Eclipse Foundation: &#8220;Orion is a brand new, browser-based open tool integration platform which is entirely focused on developing for the Web, in the Web”.</p>
</div>
<div id="_mcePaste">
<p>The Eclipse Foundation has concentrated its efforts on releasing updates every 6 months to improve the initial release and to add new features in order to provide software development companies and <a title="PHP, Java, .Net certified professional software and web developers" href="http://www.oxagile.com/services/dedicated-programming-team">web developers</a> with new capabilities. Therefore, the specialists will be able to take advantage of Orion’s new features for web application development in the cloud.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2011/02/12/cloud-development-new-eclipse-web-development-tool/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Little secrets of better WordPress development</title>
		<link>http://blog.oxagile.com/2009/11/18/little-secrets-of-better-wordpress-development/</link>
		<comments>http://blog.oxagile.com/2009/11/18/little-secrets-of-better-wordpress-development/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:26:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Open source software]]></category>
		<category><![CDATA[blog themes]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=598</guid>
		<description><![CDATA[ 
   With WordPress conditional statements your blog will stand out against thousands of others
Conditional statements can transform themes in something unrecognizable. Be sure, your readers will be amazed by such features in Wordpress blog design. There is nothing difficult in directory conditioned elements, they based on PHP code. So with the help [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2009/11/18/little-secrets-of-better-wordpress-development/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p><strong>With WordPress conditional statements your blog will stand out against thousands of others</strong><br />
Conditional statements can transform themes in something unrecognizable. Be sure, your readers will be amazed by such features in <a href="http://www.oxagile.com/services/open-source-application-customization/wordpress-blog-customization">Wordpress blog design</a>. There is nothing difficult in directory conditioned elements, they based on PHP code. So with the help of <a href="http://www.oxagile.com/expertise/by-technology">php programmers</a> you will be able to realize your ideas. For instance, welcome block at the home page can be done with the following code:<br />
<em>if (is_home()) {<br />
echo &#8216;YOUR WELCOME BOX CODES HERE&#8217;;<br />
} else { }</em></p>
<p><strong>Theme framework is a timesaver for WordPress template customization</strong><br />
There are a lot of theme frameworks (Guerrilla Theme, Thesis, Thematic, WP Framework, etc.) that will help you to build custom templates in the shortest possible time. Use them with no hesitation!</p>
<p><a href="http://blog.oxagile.com/wp-content/uploads/2009/11/theme-framework.jpg"><img class="alignnone size-medium wp-image-599" title="theme-framework" src="http://blog.oxagile.com/wp-content/uploads/2009/11/theme-framework-300x132.jpg" alt="" width="300" height="132" /></a></p>
<p><strong>WordPress widgets for better usability</strong><br />
With widgets you can easily customize the look of your theme, rearrange different blog areas (ad blocks, posts, headers, footers, etc.).</p>
<p><img class="alignnone size-full wp-image-600" title="wordpress-widget" src="http://blog.oxagile.com/wp-content/uploads/2009/11/wordpress-widget.jpg" alt="" width="429" height="108" /></p>
<p><strong>Say “no” to plugins and “yes” to PHP code </strong><br />
Using WordPress plugins you force end-users of your blog to download and install additional software. It’s not a good idea for quick and easy accesses to blog features and published information. PHP solves this problem and it also gives more know-hows for <a href="http://www.oxagile.com">WordPress developers</a>.<br />
<strong>Continuous learning is an indispensable condition of qualitative WordPress development</strong></p>
<p><img class="alignnone size-full wp-image-601" title="continuous-learning" src="http://blog.oxagile.com/wp-content/uploads/2009/11/continuous-learning.gif" alt="" width="425" height="327" /><br />
WordPress has a great blogging community, it’s even more then web community. So WordPress-as-a-CMS development can be just fun and easy work with some simple plugins, php code and official teaching material from tutorial sites. You can try a simple hack code that helps to reduce spam. It blocks all comments on your blog written by users who have come with “No referrer” result (for example, spam bots).<br />
<em></em></p>
<p><em>function check_referrer() {<br />
if (!isset($_SERVER['HTTP_REFERER']) || $_SERVER['HTTP_REFERER'] == &#8220;&#8221;) {<br />
wp_die( __(&#8216;Please enable referrers in your browser, or, if you\&#8217;re a spammer, bugger off!&#8217;) );<br />
}}<br />
add_action(&#8216;check_comment_flood&#8217;, &#8216;check_referrer&#8217;);add_action ( &#8216;check_comment_flood&#8217;, &#8216;check_referrer&#8217;);</em></p>
<p><img class="alignnone size-full wp-image-602" title="wordpress-sites" src="http://blog.oxagile.com/wp-content/uploads/2009/11/wordpress-sites.jpg" alt="" width="429" height="280" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2009/11/18/little-secrets-of-better-wordpress-development/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft adds new features in Eclipse for PHP and Java developers</title>
		<link>http://blog.oxagile.com/2009/11/07/microsoft-adds-new-features-in-eclipse-for-php-and-java-developers/</link>
		<comments>http://blog.oxagile.com/2009/11/07/microsoft-adds-new-features-in-eclipse-for-php-and-java-developers/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 15:28:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java programming]]></category>
		<category><![CDATA[Programming PHP]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Soyatec]]></category>
		<category><![CDATA[Tasktop]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=589</guid>
		<description><![CDATA[ 
   Eclipse Summit that was organized in Germany brought fresh news: Microsoft together with its partners Tasktop and Soyatec are going to release a range of tools and updates for Eclipse.

 Eclipse will support Windows 7 and all its new interface functions;
 Eclipse Standard Widget Toolkit (SWT) will be expanded to work [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2009/11/07/microsoft-adds-new-features-in-eclipse-for-php-and-java-developers/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p><img class="alignleft" src="http://www.picocontainer.org/script/images/eclipse-logo-white.jpg" alt="" width="144" height="83" />Eclipse Summit that was organized in Germany brought fresh news: Microsoft together with its partners Tasktop and Soyatec are going to release a range of tools and updates for Eclipse.</p>
<ul>
<li> Eclipse will support Windows 7 and all its new interface functions;</li>
<li> Eclipse Standard Widget Toolkit (SWT) will be expanded to work with new features in Windows 7 and Windows Server 2008 R2;<img class="alignright" style="margin: 10px;" src="http://blogs.msdn.com/blogfiles/interoperability/WindowsLiveWriter/TasktopSoyatecMicrosofttofosterEclipsean_BDD1/image_2.png" alt="" width="290" height="277" /></li>
<li>The open source tools Windows Azure Tools for Eclipse will be available for <a href="http://www.oxagile.com/services/dedicated-programming-team">PHP developers</a>;</li>
<li> The open source Windows Azure Software Developer Kit (SDK) will be available for <a href="http://www.oxagile.com/expertise/by-technology/java">Java developers</a>;</li>
<li> The Eclipse Tools plug-in will be available for Silverlight.</li>
</ul>
<p>So, Windows Azure SDK for Java allows leveraging Azure storage service while <a href="http://store.oxagile.com/java-developer.html">developing Java applications</a>. Its logical architecture is quite simple:<br />
It is reported that according to the voting (see The Open Source Developer Report 2009 based on Eclipse Community Survey), conducted among Eclipse users, more than 64% are using it in Windows OS. It’s obvious that <a href="http://www.oxagile.com/expertise/by-technology">PHP and Java programmers</a> will appreciate this significant commitment from Microsoft.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2009/11/07/microsoft-adds-new-features-in-eclipse-for-php-and-java-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>14 technologies that won’t become obsolete before 2014: foundations of software development</title>
		<link>http://blog.oxagile.com/2009/04/25/14-technologies-that-won%e2%80%99t-become-obsolete-before-2014-foundations-of-software-development/</link>
		<comments>http://blog.oxagile.com/2009/04/25/14-technologies-that-won%e2%80%99t-become-obsolete-before-2014-foundations-of-software-development/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 11:09:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software development methodologies]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[prospects]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=382</guid>
		<description><![CDATA[ 
   The impact of recent changes in the world economy changed the situation in world of software. Now the majority of developers are focused on short-term work. But it doesn’t mean that they are careless about their prospects. Self-education and  experience are still the only way to success. That is why [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2009/04/25/14-technologies-that-won%e2%80%99t-become-obsolete-before-2014-foundations-of-software-development/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p>The impact of recent changes in the world economy changed the situation in world of software. Now the majority of developers are focused on short-term work. But it doesn’t mean that they are careless about their prospects. Self-education and  experience are still the only way to success. That is why it’s so important to be constantly analyzing existing technologies and methodologies trying to keep step with changeable IT- world, not wasting valuable time for unnecessary knowledge and superseded information.</p>
<p>So we will try to forecast the most essential skills for developers that won’t become obsolete in the next five-six years. In this and the next posts we will list 14 the most relevant technologies for <a href="http://store.oxagile.com/">software developers</a>.</p>
<p><strong>#1-3: Java, PHP, .NET</strong></p>
<p>It’s highly unlikely that three foundations of <a href="http://www.oxagile.com">software development</a>, Java, PHP, .NET, will be in less demand in the near future. Developers need to know at least one of these programming languages and development platforms: <a href="http://www.oxagile.com/expertise/by-technology">Java, .NET (VB.NET or C #), or PHP</a>. Nevertheless only one programming language syntax is not enough. Usually projects cover a wide range of different functions, so developers need to know the frameworks and libraries associated with the necessary functionality in more details.</p>
<p><em>to be continued…</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2009/04/25/14-technologies-that-won%e2%80%99t-become-obsolete-before-2014-foundations-of-software-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOLPHIN SMART COMMUNITY BUILDER</title>
		<link>http://blog.oxagile.com/2008/10/18/dolphin-smart-community-builder/</link>
		<comments>http://blog.oxagile.com/2008/10/18/dolphin-smart-community-builder/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 10:57:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[communities]]></category>
		<category><![CDATA[Dolphin]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[social network]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=184</guid>
		<description><![CDATA[ 
   A social network service focuses on building online communities of people who share interests and activities, or who are interested in exploring the interests and activities of others. Most social network software services are web based and provide a variety of ways for users to interact, such as e-mail and instant [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2008/10/18/dolphin-smart-community-builder/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p>A social network service focuses on building online communities of people who share interests and activities, or who are interested in exploring the interests and activities of others. Most <a href="http://www.oxagile.com/">social network software</a> services are web based and provide a variety of ways for users to interact, such as e-mail and instant messaging services.</p>
<p>YouTube, MySpace, Odeo, Flickr, Match and Facebook &#8211; all in one solution named ‘Dolphin smart community builder’. Developed for creating dating sites, social networks, content sharing portals.<br />
Dolphin is absolutely free.</p>
<p>Dolphin is based on: PHP, MySQL, Ajax, JavaScript, Flash, Java.<br />
Official site: <a href="http://www.boonex.com/products/dolphin/">http://www.boonex.com/products/dolphin/</a>. Demo site: <a href="http://www.boonex.com/products/dolphin/doldemo/">http://www.boonex.com/products/dolphin/doldemo/</a><br />
Dolphin software contains most popular features peculiar to a common social network. Among them:</p>
<ul>
<li> Blog</li>
<li> User profile</li>
<li> Forum</li>
<li> Audio/Video sharing</li>
<li> Friends invitation</li>
<li> Private messaging</li>
<li> User groups</li>
<li> Voting</li>
<li> And much more</li>
</ul>
<p>This solution is optimal for rapid start of your own social network (of course, if your goal is to get free solution).<br />
There are many analogous solutions:</p>
<ul>
<li> Pligg</li>
<li> PHPIzabi</li>
<li> Elgg</li>
<li> PHPFox</li>
<li> Other</li>
</ul>
<p>Also there are services for creating social networks.<br />
Among them:</p>
<ul>
<li> Ning</li>
<li> Kickapps</li>
</ul>
<p>This software does not provide the source code (are not open source), they provide API. All interaction is held using XML and JSON. Solutions are not free.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2008/10/18/dolphin-smart-community-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lightbox customization (PHP programming tips)</title>
		<link>http://blog.oxagile.com/2008/10/07/lightbox-customization-php-programming-tips/</link>
		<comments>http://blog.oxagile.com/2008/10/07/lightbox-customization-php-programming-tips/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 13:25:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[image gallery]]></category>
		<category><![CDATA[Lightbox]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programming PHP]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=125</guid>
		<description><![CDATA[ 
   Current version of Lightbox (widely used in web development) has an intricate navigation in the image gallery. At first a user trys to guess where to show “previous” or “next” buttons. This navigation isn’t user friendly. Here are some small modifications for creating a simple navigation:

The best way for creating it [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2008/10/07/lightbox-customization-php-programming-tips/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><p>Current version of <strong>Lightbox</strong> (widely used in <a href="http://www.oxagile.com/">web development</a>) has an intricate navigation in the image gallery. At first a user trys to guess where to show “previous” or “next” buttons. This navigation isn’t user friendly. Here are some small modifications for creating a simple navigation:</p>
<p style="text-align: center;"><img class="size-full wp-image-152 aligncenter" title="lightbox1" src="http://blog.oxagile.com/wp-content/uploads/2008/10/lightbox1.gif" alt="" width="500" height="233" /></p>
<p>The best way for creating it in your image gallery is overriding the code without direct changes in the lightbox source code. It’s profitable when it is necessary to update the source code.</p>
<p><span id="more-125"></span></p>
<p>Note: In the examples we were using lightbox2.04 in folder lightbox, the folder with the names of styles for containing css styles and the folder with the name ‘js’ for containing the java script code.</p>
<p>1.    Creat the lightbox_override.css in the styles folder and place in it the next code snippet:</p>
<p>[source='php']<br />
#hoverNav{ height: 40px; width: 100%; z-index: 10;}<br />
#hoverNav a{ outline: none; text-align:center }</p>
<p>/* change height for next and previous link */<br />
#prevLink, #nextLink{ width: 60px; height: 40px !important; background-image: url(data:image/gif;base64,AAAA); display: block; }<br />
#prevLink, #prevLink:hover, #prevLink:visited:hover { background: url(/lightbox/images/prevlabel.gif) left 15% no-repeat;}<br />
#nextLink, #nextLink:hover, #nextLink:visited:hover { background: url(/lightbox/images/nextlabel.gif) right 15% no-repeat;}</p>
<p>/* change image data container height */<br />
#imageDataContainer{ height:40px;font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; }</p>
<p>#imageData{ color: #666; }<br />
#imageData #imageDetails{ text-align: center; padding-left:60px; padding-right:60px}<br />
#imageData #numberDisplay{ }<br />
#imageContainer #bottomNavClose{ position:absolute; float: right;  padding-top:2px; width: 17px; right: 10px;outline: none;}<br />
[/source]</p>
<p>2.    Creat the lightbox_override.js in the ‘js’ folder and place in it the next code snippet:<br />
[source='php']<br />
/**<br />
* Override lightbox initialization.<br />
*<br />
*/<br />
Lightbox.prototype.initialize = function() {</p>
<p>this.updateImageList();</p>
<p>this.keyboardAction = this.keyboardAction.bindAsEventListener(this);</p>
<p>if (LightboxOptions.resizeSpeed > 10) LightboxOptions.resizeSpeed = 10;<br />
if (LightboxOptions.resizeSpeed < 1)  LightboxOptions.resizeSpeed = 1;</p>
<p>this.resizeDuration = LightboxOptions.animate ? ((11 - LightboxOptions.resizeSpeed) * 0.15) : 0;<br />
this.overlayDuration = LightboxOptions.animate ? 0.2 : 0;  // shadow fade in/out duration</p>
<p>var size = (LightboxOptions.animate ? 250 : 1) + 'px';<br />
var objBody = $$('body')[0];</p>
<p>objBody.appendChild(Builder.node('div',{id:'overlay'}));</p>
<p>// Change lightbox html code and place next and previous link to bottom of box<br />
objBody.appendChild(Builder.node('div',{id:'lightbox'}, [<br />
Builder.node('div',{id:'outerImageContainer'},<br />
Builder.node('div',{id:'imageContainer'}, [<br />
Builder.node('a',{id:'bottomNavClose', href: '#' },<br />
Builder.node('img', { src: LightboxOptions.fileBottomNavCloseImage })<br />
),<br />
Builder.node('img',{id:'lightboxImage'}),<br />
Builder.node('div',{id:'loading'},<br />
Builder.node('a',{id:'loadingLink', href: '#' },<br />
Builder.node('img', {src: LightboxOptions.fileLoadingImage})<br />
)<br />
)<br />
])<br />
),<br />
Builder.node('div', {id:'imageDataContainer'},<br />
Builder.node('div',{id:'imageData'}, [<br />
Builder.node('div',{id:'hoverNav'}, [<br />
Builder.node('a',{id:'prevLink', href: '#' }),<br />
Builder.node('a',{id:'nextLink', href: '#' }),<br />
Builder.node('div',{id:'imageDetails'}, [<br />
Builder.node('div',{id:'caption'}),<br />
Builder.node('span',{id:'numberDisplay'})<br />
])<br />
])<br />
])<br />
)<br />
]));</p>
<p>$('overlay').hide().observe('click', (function() { this.end(); }).bind(this));<br />
$('lightbox').hide().observe('click', (function(event) { if (event.element().id == 'lightbox') this.end(); }).bind(this));<br />
$('outerImageContainer').setStyle({ width: size, height: size });<br />
$('prevLink').observe('click', (function(event) { event.stop(); this.changeImage(this.activeImage - 1); }).bindAsEventListener(this));<br />
$('nextLink').observe('click', (function(event) { event.stop(); this.changeImage(this.activeImage + 1); }).bindAsEventListener(this));<br />
$('loadingLink').observe('click', (function(event) { event.stop(); this.end(); }).bind(this));<br />
$('bottomNavClose').observe('click', (function(event) { event.stop(); this.end(); }).bind(this));</p>
<p>var th = this;<br />
(function(){<br />
var ids =<br />
'overlay lightbox outerImageContainer imageContainer lightboxImage hoverNav prevLink nextLink loading loadingLink ' +<br />
'imageDataContainer imageData imageDetails caption numberDisplay bottomNav bottomNavClose';<br />
$w(ids).each(function(id){ th[id] = $(id); });<br />
}).defer();<br />
};<br />
[/source]</p>
<p>Difference between standard initialization and custom is in changing html element positions.</p>
<p>3.    Include the standard litebox files:</p>
<p>[source='php']</p>
<p><script type="text/javascript" src="/lightbox/js/prototype.js"></script><br />
<script type="text/javascript" src="/lightbox/js/scriptaculous.js?load=effects,builder"></script><br />
<script type="text/javascript" src="/lightbox/js/lightbox.js"></script></p>
<link rel="stylesheet" href="/lightbox/css/lightbox.css" type="text/css" media="screen"/>
[/source]</p>
<p>4.    Include the ‘css’ customization:</p>
<p>[source='php']</p>
<link rel="stylesheet" href="/styles/lightbox_override.css" type="text/css" media="screen"/>
[/source]</p>
<p>5.    Include the java script logic customization:</p>
<p>[source='php']</p>
<p><script type="text/javascript" src="/js/lightbox_override.js"></script><br />
[/source]</p>
<p><strong>Note</strong>: all files included must be located in the head element of the html page.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2008/10/07/lightbox-customization-php-programming-tips/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Doctrine in a PHP programming</title>
		<link>http://blog.oxagile.com/2008/07/06/doctrine-in-a-php-programming/</link>
		<comments>http://blog.oxagile.com/2008/07/06/doctrine-in-a-php-programming/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 08:58:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming PHP]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Doctrine]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[scripts example]]></category>

		<guid isPermaLink="false">http://blog.oxagile.com/?p=73</guid>
		<description><![CDATA[ 
   
Home page: www.doctrine-project.org.  Current version: 1.0.2
Doctrine is a PHP ORM for PHP 5.2.3+ that sits on the top of a powerful PHP. One of its key features is the ability to optionally write database queries in an object oriented SQL-dialect called DQL inspired by Hibernates HQL. This provides web developers [...]]]></description>
			<content:encoded><![CDATA[ 
   <span class = "facebook-like-this" style = "height: px"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.oxagile.com/2008/07/06/doctrine-in-a-php-programming/&layout=standard&show_faces=false&width=100%&action=like&colorscheme=light&locale=en_US&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%px; height:px"></iframe></span><div class="mceTemp"><a href="http://www.doctrine-project.org"><img class="size-full wp-image-84" title="doctrine-logo" src="http://blog.oxagile.com/wp-content/uploads/2008/10/doctrine-logo.gif" border="0" alt="Doctrine" width="151" height="41" /></a></div>
<p>Home page: <a rel="external nofollow" href="http://www.doctrine-project.org">www.doctrine-project.org</a>.  Current version: 1.0.2</p>
<div class="mceTemp">Doctrine is a PHP ORM for PHP 5.2.3+ that sits on the top of a powerful PHP. One of its key features is the ability to optionally write database queries in an object oriented SQL-dialect called DQL inspired by Hibernates HQL. This provides <a href="http://www.oxagile.com">web developers</a> with a powerful alternative to SQL that maintains a maximum flexibility without requiring needless code duplication.</div>
<p>Doctrine requires PHP 5.2.3+. It doesn&#8217;t require any external libraries. For the database function call abstraction Doctrine uses PDO which comes bundled with the PHP official release that you get from <a style="text-decoration: line-through;" rel="external nofollow" href="http://www.php.net">www.php.net</a>.<br />
<span id="more-73"></span><br />
<strong>Doctrine features:</strong></p>
<ul>
<li>Supports: MySQL, SQLite, PostgreSQL, Oracle, Mssql, Firebird and Informix.</li>
<li>Supports result caching with Memcache, APC or SQLite.</li>
<li>Supports import/export with YAML schemas, SQL scripts or existing database.</li>
<li>Has DQL (Doctrine Query Language) it helping users in complex object retrieval.</li>
<li>Supports migration functionality. For making a migration process easy.</li>
<li>Has integrated searching functionality.</li>
</ul>
<p>For more visit <a style="text-decoration: line-through;" rel="external nofollow" href="http://www.doctrine-project.org/documentation">http://www.doctrine-project.org/documentation</a></p>
<p><strong>Example:</strong><br />
This example illustrates the way of extracting data from the database table.</p>
<p><em>File structure:<br />
</em><code>Models/<br />
Users.php – user model<br />
Doctrine/ - Doctrine library files<br />
Doctrine.php – Doctrine main file<br />
index.php</code><br />
<em>Example of index.php</em><br />
[source='php']<br />
<?php<br />
// include Dotrine main file.<br />
require_once 'Doctrine.php';</p>
<p>// register Doctrine library file loader.<br />
spl_autoload_register(array('Doctrine','autoload'));</p>
<p>// connect to database<br />
Doctrine_Manager::connection('mysql://user:password@localhost/database');</p>
<p>// set path to models<br />
Doctrine::loadModels('models');</p>
<p>// create simple query on DQL.<br />
$users = Doctrine_Query::create()->from(&#8216;Users&#8217;);</p>
<p>// print result<br />
foreach ($users as $user)<br />
echo $user->email;<br />
?><br />
[/source]</p>
<p><em>Example of Users.php</em><br />
[source='php']<br />
<?php<br />
/**<br />
* User model definition.<br />
*/<br />
class Users extends Doctrine_Record<br />
{<br />
/**<br />
* Define model metadata.<br />
*/<br />
public function setTableDefinition()<br />
{<br />
$this->setTableName(&#8216;users&#8217;);</p>
<p>$this->hasColumn(<br />
&#8216;id&#8217;,<br />
&#8216;integer&#8217;,<br />
4,<br />
array(<br />
&#8216;type&#8217; => &#8216;integer&#8217;,<br />
&#8216;length&#8217; => 11,<br />
&#8216;primary&#8217; => true,<br />
&#8216;autoincrement&#8217; => true<br />
));</p>
<p>$this->hasColumn(<br />
&#8216;email&#8217;,<br />
&#8217;string&#8217;,<br />
255,<br />
array(<br />
&#8216;type&#8217; => &#8217;string&#8217;,<br />
&#8216;length&#8217; => 255,<br />
&#8216;default&#8217; => &#8221;,<br />
&#8216;notnull&#8217; => true<br />
));<br />
}<br />
}<br />
?><br />
[/source]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oxagile.com/2008/07/06/doctrine-in-a-php-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

