<?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>BASIC TRADING MULTIMEDIA &#187; programming</title>
	<atom:link href="http://www.basictrading.biz/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.basictrading.biz</link>
	<description>Information Technology and Design</description>
	<lastBuildDate>Tue, 22 Nov 2011 14:53:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RailsYard CMS released and growing up daily!</title>
		<link>http://www.basictrading.biz/2011/09/railsyard-cms/</link>
		<comments>http://www.basictrading.biz/2011/09/railsyard-cms/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 09:49:54 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[Ruby on rails]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[railsyard]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[ruby5]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/?p=533</guid>
		<description><![CDATA[Scenario We are Ruby on Rails developers (Silvio Relli and Matteo Papadopoulos) sharing the same office at Cantiere Creativo. As often happens in web agencies, for small or medium websites projects, the boss wanted a quick tool to setup a &#8230; <a href="http://www.basictrading.biz/2011/09/railsyard-cms/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2><a href="http://www.basictrading.biz/wp-content/uploads/2011/09/logo.jpg"><img class="size-full wp-image-534 aligncenter" title="logo" src="http://www.basictrading.biz/wp-content/uploads/2011/09/logo.jpg" alt="" width="175" height="34" /></a></h2>
<h2>Scenario</h2>
<p>We are Ruby on Rails developers (Silvio Relli and Matteo Papadopoulos) sharing the same office at <a title="Cantiere Creativo website" href="http://www.cantierecreativo.net" target="_blank">Cantiere Creativo</a>. As often happens in web agencies, for small or medium websites projects, the boss wanted a <em>quick tool</em> to setup a website, manage contents, reduce development time and costs.<br />
Rails is our favourite framework but the admin interface is a big missing and build it from scratch all the time can take a while.</p>
<p>We didn&#8217;t want to use <strong>WordPress</strong> (max respect for this piece of software!) or others php based CMS.<br />
<strong>Django</strong> could be the solution but we did prefer to use our favorite framework as we are more confident with it.</p>
<p>So, at the end, the solution is always the same: <strong>build your own CMS!</strong> Aaaarrrgghhh!!!! And we have done it! :)</p>
<p>We love to be part of the community and we absolutely wanted to share this project; we wanted <strong>Railsyard</strong> to be <strong>free</strong> and <strong><a href="https://github.com/cantierecreativo/railsyardcms" target="_blank">everybody can fork it</a></strong> and gives his contribution (or not!).</p>
<p><span id="more-533"></span></p>
<h2>History</h2>
<p><strong>Railsyard</strong> is a <strong>CMS</strong> made with and for <strong>Ruby on Rails</strong>. It was born one year ago to build several websites for <a href="http://www.cantierecreativo.net" target="_blank">Cantiere Creativo</a>, the company who invested on this project.</p>
<p>The first release of RY, built with Rails 2.3, was published on a <a href="https://github.com/cantierecreativo/railsyardcms" target="_blank">GitHub repository</a> but it was a first attempt written in &#8220;rush mode&#8221; (as often happens in software development).</p>
<h2>What&#8217;s going on</h2>
<p>In July 2011 we did release the second version of this CMS written from scratch in Rails 3 and Ruby 1.9.2 (but it can also run with 1.8.7). In August we made many commits of new features and debugs. This has been possibile thanks to a first project of a customer that is actually running in production. At the same time the community started it contribution (as hoped!) and <a href="http://twitter.com/#%21/paul_spieker/" target="_blank">@paul_spieker</a> is actually a great contributor!</p>
<h2>Features</h2>
<p>From my point of view (front end designer), these are the main features:</p>
<ul>
<li>You can easily <strong>create own themes</strong> with your favourites tools (js, scss, sass ecc)</li>
<li><strong>Multilangs</strong> support for the whole contents and admin interface</li>
<li>Has fews but usefull <strong>snippets</strong> ready to use</li>
<li>It&#8217;s easy to build your own snippets for <strong>advanced personalisation</strong></li>
<li>It&#8217;s <strong>easy</strong> to design layouts and manage contents</li>
<li>Has pages and articles</li>
<li>You can manage <strong>meta information</strong> for each page.</li>
<li>Has a really good <strong>WYSIWYG</strong> editor</li>
<li>Has an intuitive <strong>drag and drop</strong> admin interface</li>
<li><strong>pretty urls</strong> and other seo-friendly features</li>
<li>different <strong>user roles</strong></li>
<li><strong>You have Rails</strong> behind and you can build your own controllers/model/views</li>
</ul>
<p>A first public theme has been release in these days. It&#8217;s not so &#8220;beauty&#8221; and it&#8217;s called &#8220;<strong>rough</strong>&#8220;. We just wanted to give a first simple theme, extremely cleaned, with three different layouts (one, two and three columns); it&#8217;s a basic theme to let users to be free to personalize the css and design for a new own theme. It uses a responsive grid system (fixed or fluid) with an html5 markup, scss and jquery.</p>
<p>Next step will be e <em>good looking</em> theme just to show how Railsyard can be used with different templates.</p>
<p>Lot of features and good proposals are still in our mind and we are really excited of this tool that is growing up, day by day! <strong>Stay tuned, it changes quickly!</strong> <a href="https://github.com/cantierecreativo/railsyardcms" target="_blank">Have a look and enjoy it!</a></p>
<p>I&#8217;m actually working on this project with <a href="http://twitter.com/#%21/silviorelli" target="_blank">@silviorelli</a></p>
<h2>Update 9 november 2011</h2>
<p>Following yesterday&#8217;s <a href="%20http://ruby5.envylabs.com/episodes/225-episode-221-november-8th-2011/stories/1978-railsyard-cms" target="_blank">coverage of Railsyard on ruby5</a>, here you can find some direct resources for tracking our progresses:</p>
<ul>
<li>official railsyard twittter account: <a href="http://twitter.com/#%21/railsyard" target="_blank">@railsyard</a></li>
<li>official project page: <a href="http://www.railsyardcms.org" target="_blank">http://www.railsyardcms.org</a></li>
<li>Fork on GitHub <a href="https://github.com/cantierecreativo/railsyardcms" target="_blank">GitHub repository</a></li>
<li><a href="http://www.cantierecreativo.net" target="_blank">Cantiere Creativo (the lead agency)</a></li>
<li>Silvio Relli twitter account: <a href="http://twitter.com/#%21/silviorelli" target="_blank">@silviorelli</a></li>
<li>and finally, my twitter account: <a href="https://twitter.com/#%21/spleenteo" target="_blank">@spleenteo</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2011/09/railsyard-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better Software 2011</title>
		<link>http://www.basictrading.biz/2011/05/better-software-2011/</link>
		<comments>http://www.basictrading.biz/2011/05/better-software-2011/#comments</comments>
		<pubDate>Sat, 07 May 2011 10:48:12 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[better software]]></category>
		<category><![CDATA[conferenze]]></category>
		<category><![CDATA[develer]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/?p=455</guid>
		<description><![CDATA[Anche quest&#8217;anno l&#8217;ormai consueto appuntamento fiorentino con la conferenza eclettica ricca di argomenti presentati dai maggiori esperti nazionali di software per far nascere idee e trovare nuove ispirazioni. Al contrario di molte conferenze a cui siamo da anni abituati, Better &#8230; <a href="http://www.basictrading.biz/2011/05/better-software-2011/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Anche quest&#8217;anno l&#8217;ormai consueto appuntamento fiorentino con la conferenza eclettica ricca di argomenti presentati dai maggiori esperti nazionali di software per far nascere idee e trovare nuove ispirazioni.</p>
<p><span id="more-455"></span><a href="http://www.basictrading.biz/wp-content/uploads/2011/05/bulb-100.png"><img class="alignleft size-full wp-image-457" title="bulb-100" src="http://www.basictrading.biz/wp-content/uploads/2011/05/bulb-100.png" alt="" width="100" height="100" /></a>Al contrario di molte conferenze a cui siamo da anni abituati, Better Software è un momento esaltante di estremo interesse per gli addetti ai lavori dell&#8217;informatica a cui interessa innovazione e qualità. Da non perdere!</p>
<p>Consulta il sito <a href="http://www.bettersoftware.it/" target="_blank">Better Software</a> per scoprire il prgramam completo degli interventi oppure segui il canale twitter per tutte le novità!</p>
<p>Dal sito riporto:</p>
<p><em>Better Software è la prima conferenza Italiana dedicata allo sviluppo di  software e rivolta a imprenditori e manager del settore. Better  Software è un&#8217;opportunità per intrecciare relazioni durature con nuovi  clienti e partner.</em></p>
<div>
<p><em>Better Software è la prima conferenza Italiana dedicata allo  sviluppo di software e rivolta a imprenditori e manager del settore.  Better Software è un&#8217;opportunità per intrecciare relazioni durature con  nuovi clienti e partner.</em></p>
</div>
<div>
<p><em>L&#8217;evento è rivolto ad una varietà eterogenea di argomenti legati  alla produzione di software: dalla raccolta delle specifiche al design,  dal project management allo sviluppo, dal licensing al marketing.</em></p>
<p><em>La conferenza porta sul palco i più importanti esperti su progettazione  agile, open source, web2.0 e tutte le discipline che contribuiscono alla  costruzione di un prodotto stabile, usabile e vendibile.</em></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2011/05/better-software-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git Magic</title>
		<link>http://www.basictrading.biz/2010/10/git-magic/</link>
		<comments>http://www.basictrading.biz/2010/10/git-magic/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 09:01:45 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[codes]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/?p=372</guid>
		<description><![CDATA[After many years of SVN, I have defenetly been convinced to migrate to GIT and, after 8 months of experience, I&#8217;m actaully happy to use it! A popular misconception is that distributed systems are ill-suited for projects requiring an official &#8230; <a href="http://www.basictrading.biz/2010/10/git-magic/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After many years of SVN, I have defenetly been convinced to migrate to GIT and, after 8 months of experience, I&#8217;m actaully happy to use it!</p>
<p><em>A popular misconception is that distributed systems are         ill-suited for projects requiring an official central         repository. Nothing could be further from the truth.         Photographing someone does not cause their soul to be         stolen. Similarly, cloning the master repository does not         diminish its importance.</em></p>
<p><em><span id="more-372"></span>A good first approximation is that anything a         centralized version control system can do, a well-designed         distributed system can do better. Network resources are         simply costlier than local resources. While we shall later         see there are drawbacks to a distributed approach, one is         less likely to make erroneous comparisons with this rule of         thumb.</em></p>
<p><em>A small project may only need a fraction of the features         offered by such a system, but using systems that scale         poorly for tiny projects is like using Roman numerals for         calculations involving small numbers.</em></p>
<p><em>Moreover, your project may grow beyond your original         expectations. Using Git from the outset is like carrying a         Swiss army knife even though you mostly use it to open         bottles. On the day you desperately need a screwdriver         you’ll be glad you have more than a plain         bottle-opener.</em></p>
<p>This<em> is the &#8220;Silly superstition&#8221; </em>paragraph you can find on <a href="http://crypto.stanford.edu/~blynn/gitmagic/book.html">GIT MAGIC</a> a &#8220;must seen&#8221; document you need to read to better understand GIT.</p>
<p>Obviously you can get directly from git repository like GITHUB</p>
<pre>$ git clone git://github.com/blynn/gitmagic.git
</pre>
<p>I&#8217;ve mentioned GITHUB (a free git repository for public projects) because I&#8217;ve sign my first profile few weeks ago to share some projects and to fork projects from others developers.</p>
<p>Please, visit my page at <a href="http://github.com/spleenteo">http://github.com/spleenteo</a></p>
<p>I also do reccomend <a href="http://github.com/joeyates">TitusD profile</a> that is really active in it&#8217;s productions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2010/10/git-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>drupal 6, tagadelic cache clear</title>
		<link>http://www.basictrading.biz/2009/04/drupal-6-tagadelic-cache-clear/</link>
		<comments>http://www.basictrading.biz/2009/04/drupal-6-tagadelic-cache-clear/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 15:53:47 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[resolved]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/?p=186</guid>
		<description><![CDATA[I&#8217;ve got some problem with the tagadelic module in Drupal 6.x to create tag clouds. Even having removed the &#8220;cache&#8221; from the site setting, when a new post was published, the clouds didn&#8217;t change, never! At the end I&#8217;ve fount &#8230; <a href="http://www.basictrading.biz/2009/04/drupal-6-tagadelic-cache-clear/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px; float: left; margin-top: 10px; margin-bottom: 10px; margin-right: 10px;" src="http://drupal.org/sites/all/themes/bluebeach/logos/drupal.org.png" />I&#8217;ve got some problem with the tagadelic module in Drupal 6.x to create tag clouds. Even having removed the &#8220;cache&#8221; from the site setting, when a new post was published, the clouds didn&#8217;t change, never!</p>
<p>At the end I&#8217;ve fount a little patch on the web and I&#8217;m trying here to explain it to new users, not familiar with patch.</p>
<ol>
<li>go into the module directory &#8220;sites/all/modules/tagadelic&#8221; and open the file tagadelic.module with your favourite editor</li>
<li>goto line 215 (or around there) and change the line &#8220;
<pre>$cache = cache_get($cache_name);" to $cache = cache_get($cache_name, 'cache_block');&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;goto line 228 and do the same: change&lt;br /&gt;&lt;pre&gt;cache_set($cache_name, $tags); to &lt;br /&gt;cache_set($cache_name, $tags, 'cache_block', CACHE_TEMPORARY);</pre>
</li>
</ol>
<p>upload the file and the problem will magically disappear.</p>
<p>Original source thanks to: <a target="_blank" href="http://drupal.org/node/231030">http://drupal.org/node/231030</a></p>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=41ca81a1-9407-84fb-9383-cef858483784" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2009/04/drupal-6-tagadelic-cache-clear/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP convertire apostrofo in apice</title>
		<link>http://www.basictrading.biz/2008/11/php-convertire-apostrofo-in-apice/</link>
		<comments>http://www.basictrading.biz/2008/11/php-convertire-apostrofo-in-apice/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 12:57:12 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[resolved]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/?p=185</guid>
		<description><![CDATA[Copiando un testo da MS Word in una form capita a volte di imbattersi negli apostrofi di tipo &#8221; ’ &#8221; che difficilmente vengono convertiti correttamente in UTF-8. Questo capita (leggendo un po&#8217; di bug report di php) con alcune &#8230; <a href="http://www.basictrading.biz/2008/11/php-convertire-apostrofo-in-apice/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Copiando un testo da MS Word in una form capita a volte di imbattersi negli apostrofi di tipo &#8221; ’ &#8221; che difficilmente vengono convertiti correttamente in UTF-8. Questo capita (leggendo un po&#8217; di bug report di php) con alcune versioni di php.</p>
<p>Brutale mna efficace al scelta di convertire tutti questi apostrofi con il singolo apice &#8216;</p>
<p>&nbsp; $patterns[0] = &#8216;/[\x82\x91\x92]/&#8217;;<br />&nbsp; $replacements[0] = &#8220;&#8216;&#8221;;<br />&nbsp; $txt = preg_replace($patterns, $replacements, &#8220;Governatore d’Italia&#8221;);</p>
<p>che renderà &#8220;Governatore d&#8217;Italia&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2008/11/php-convertire-apostrofo-in-apice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aptana Studio RedRails Error</title>
		<link>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/</link>
		<comments>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 11:04:30 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Software Libero]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/2008/02/27/aptana-studio-redrails-error/</guid>
		<description><![CDATA[I was curious to try an IDE on Osx for Rails development and APTANA STUDIO seems to be the right product. (I do use TextMate as editor) Aptana Studio is fully installed on my laptop but, when I try to &#8230; <a href="http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.aptana.com/system/files/images/Picture8_thumb.png" align="left" height="181" width="250" />I was curious to try an IDE on Osx for Rails development and <a href="http://www.aptana.com/" target="_blank">APTANA STUDIO</a> seems to be the right product. (I do use TextMate as editor)</p>
<p>Aptana Studio is fully installed on my laptop but, when I try to install the RedRails plugin, it returns this error:</p>
<p>Requested operation cannot be performed because it would invalidate the current configuration. See details for more information.</p>
<pre></pre>
<pre>Ruby Mylyn Connector Feature (Optional) (0.9.3.6479) requires feature
"org.eclipse.mylyn.context_feature (2.0.0.v20070628-1000)", or later version.</pre>
<p><img src="http://www.aptana.com/images/products/rails/rails_home.png" height="50" width="48" /></p>
<p>The solution: <a href="http://support.aptana.com/issues/browse/ROR-156" target="_blank">http://support.aptana.com/issues/browse/ROR-156</a></p>
<p>The most important steps are:</p>
<ol>
<li>Went to Help=&gt;Updates=&gt;Find and Install. Installed three Eclipse updates that the system found. Installation of updates worked ok.</li>
<li>When the update window appears with RadRails updates, expand the tree and uncheck the box next to the Ruby Mylyn Connector Feature. This is an optional extension for users of Mylyn. You don&#8217;t need it, so you can safely uncheck the box and install.</li>
</ol>
<p>This seems to works either on Windows, Osx and Linux</p>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

