<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: BarCamp Singapore Jan 2007</title>
	<atom:link href="http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/</link>
	<description>Rails, Firefox, Anime, Mac</description>
	<lastBuildDate>Sat, 04 Feb 2012 15:38:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: choonkeat</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-98004</link>
		<dc:creator>choonkeat</dc:creator>
		<pubDate>Tue, 23 Jan 2007 00:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-98004</guid>
		<description>@harish: ah, yes. that&#039;s the one

In any case, I&#039;d recommend anyone not managing their data migration to reach for the nearest solution and &lt;a href=&quot;http://blog.yanime.org/articles/2006/07/19/automating-tasks-data-migrations&quot; rel=&quot;nofollow&quot;&gt;just start doing it already!&lt;/a&gt;. 

In Affle, where we have many platforms, we use our own python script instead of Rails Migrations. The important thing is, migration *is* managed.</description>
		<content:encoded><![CDATA[<p>@harish: ah, yes. that&#8217;s the one</p>
<p>In any case, I&#8217;d recommend anyone not managing their data migration to reach for the nearest solution and <a href="http://blog.yanime.org/articles/2006/07/19/automating-tasks-data-migrations" rel="nofollow">just start doing it already!</a>. </p>
<p>In Affle, where we have many platforms, we use our own python script instead of Rails Migrations. The important thing is, migration *is* managed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harish Mallipeddi</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-97722</link>
		<dc:creator>Harish Mallipeddi</dc:creator>
		<pubDate>Mon, 22 Jan 2007 12:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-97722</guid>
		<description>@choon keat

Yes you&#039;re right. SqlAlchemy has migrations support through a third-party library called Migrate (http://erosson.com/migrate/trac/). But Django doesn&#039;t use SQLAlchemy for ORM. It uses its own ORM layer.

And swapping SQLAlchemy in place of the Django ORM is not a trivial task. The speed gained through other means would be lost if you did. There&#039;s a subversion branch to make this step easier.</description>
		<content:encoded><![CDATA[<p>@choon keat</p>
<p>Yes you&#8217;re right. SqlAlchemy has migrations support through a third-party library called Migrate (<a href="http://erosson.com/migrate/trac/" rel="nofollow">http://erosson.com/migrate/trac/</a>). But Django doesn&#8217;t use SQLAlchemy for ORM. It uses its own ORM layer.</p>
<p>And swapping SQLAlchemy in place of the Django ORM is not a trivial task. The speed gained through other means would be lost if you did. There&#8217;s a subversion branch to make this step easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harish Mallipeddi</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-97720</link>
		<dc:creator>Harish Mallipeddi</dc:creator>
		<pubDate>Mon, 22 Jan 2007 12:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-97720</guid>
		<description>Template systems :-

The beautiful thing about Django&#039;s template system is it has been designed for designers in mind - the default template language features are kept at a bare minimum. Expecting a designer to write Python/Ruby/PHP code does not make sense. 

There are only two basic constructs in the template system: {{ variables }} and {% block_tags %}. 

http://www.djangoproject.com/documentation/templates/ -&gt; takes 15 mins to grasp whether you&#039;re a programmer or not. But ask your designer to write Ruby and he&#039;s certainly going to give you the look which you don&#039;t wanna see :)

And the other thing is if you didn&#039;t like the naming that they use, you can define your own block_tags in Python and then make the job easier for your designers. 

But if you&#039;re a developer/designer, I would imagine the idea of restricting you to a template language might sound like a move to cripple you.

A lot of it has to do with how these projects evolved. Django was developed inside the web division of a newspaper company. They typically would have a lot of designers in such teams, and a lot of computer-illiterate authors contributing the content - articles,  news reports. The cool Admin system is also tailored to this scenario.</description>
		<content:encoded><![CDATA[<p>Template systems :-</p>
<p>The beautiful thing about Django&#8217;s template system is it has been designed for designers in mind &#8211; the default template language features are kept at a bare minimum. Expecting a designer to write Python/Ruby/PHP code does not make sense. </p>
<p>There are only two basic constructs in the template system: {{ variables }} and {% block_tags %}. </p>
<p><a href="http://www.djangoproject.com/documentation/templates/" rel="nofollow">http://www.djangoproject.com/documentation/templates/</a> -&gt; takes 15 mins to grasp whether you&#8217;re a programmer or not. But ask your designer to write Ruby and he&#8217;s certainly going to give you the look which you don&#8217;t wanna see :)</p>
<p>And the other thing is if you didn&#8217;t like the naming that they use, you can define your own block_tags in Python and then make the job easier for your designers. </p>
<p>But if you&#8217;re a developer/designer, I would imagine the idea of restricting you to a template language might sound like a move to cripple you.</p>
<p>A lot of it has to do with how these projects evolved. Django was developed inside the web division of a newspaper company. They typically would have a lot of designers in such teams, and a lot of computer-illiterate authors contributing the content &#8211; articles,  news reports. The cool Admin system is also tailored to this scenario.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harish Mallipeddi</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-97718</link>
		<dc:creator>Harish Mallipeddi</dc:creator>
		<pubDate>Mon, 22 Jan 2007 11:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-97718</guid>
		<description>@Chu Yeow 

I knew Rails had Migrations but I didn&#039;t realise that people actually use Schema Migrations to write the first version of the schema as pointed out by you at BarCamp (and definitely calling it &#039;Migration&#039; doesn&#039;t make sense for that use case!).

As far as Django is concerned, Rails-like Schema Migrations support is on its way. It was actually a Google Summer of Code project but the student who took up the project didn&#039;t deliver. So someone else is rewriting the whole thing again because the previous codebase is apparently unusable. But the main purpose of this is only to help you to migrate the DB schema without writing SQL (atleast for simple CRUD tasks, the SQL required for which can be easily wrapped in helper Python functions). For complex migrations, there&#039;s always an extremely easy way to run hand-written SQL in Django.</description>
		<content:encoded><![CDATA[<p>@Chu Yeow </p>
<p>I knew Rails had Migrations but I didn&#8217;t realise that people actually use Schema Migrations to write the first version of the schema as pointed out by you at BarCamp (and definitely calling it &#8216;Migration&#8217; doesn&#8217;t make sense for that use case!).</p>
<p>As far as Django is concerned, Rails-like Schema Migrations support is on its way. It was actually a Google Summer of Code project but the student who took up the project didn&#8217;t deliver. So someone else is rewriting the whole thing again because the previous codebase is apparently unusable. But the main purpose of this is only to help you to migrate the DB schema without writing SQL (atleast for simple CRUD tasks, the SQL required for which can be easily wrapped in helper Python functions). For complex migrations, there&#8217;s always an extremely easy way to run hand-written SQL in Django.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chu Yeow</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-97410</link>
		<dc:creator>Chu Yeow</dc:creator>
		<pubDate>Sun, 21 Jan 2007 13:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-97410</guid>
		<description>Ahhh, thanks Michael and Daniel for the CakePHP testing links.

@Choon Keat: Fixed :P. Ahh... But Harish didn&#039;t seem to realize that Rails had migrations :x</description>
		<content:encoded><![CDATA[<p>Ahhh, thanks Michael and Daniel for the CakePHP testing links.</p>
<p>@Choon Keat: Fixed :P. Ahh&#8230; But Harish didn&#8217;t seem to realize that Rails had migrations :x</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Hofstetter</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-97334</link>
		<dc:creator>Daniel Hofstetter</dc:creator>
		<pubDate>Sun, 21 Jan 2007 09:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-97334</guid>
		<description>As the official test suite of cakephp is rather limited I wrote my own test suite for cakephp 1.2 which is inspired by the rails test suite: http://cakebaker.42dh.com/2006/12/18/testing-with-cakephp-12-a-preview/</description>
		<content:encoded><![CDATA[<p>As the official test suite of cakephp is rather limited I wrote my own test suite for cakephp 1.2 which is inspired by the rails test suite: <a href="http://cakebaker.42dh.com/2006/12/18/testing-with-cakephp-12-a-preview/" rel="nofollow">http://cakebaker.42dh.com/2006/12/18/testing-with-cakephp-12-a-preview/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chin Yong</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-97328</link>
		<dc:creator>Chin Yong</dc:creator>
		<pubDate>Sun, 21 Jan 2007 08:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-97328</guid>
		<description>I am currently using CakePhp on a websitel. The test suite mention by Micheal Cheng is created by one of the main developer of Cake.

I have no experience in that test suite as the testing portion is left to my colleague. Will feedback once I gather my hands on that info.

CakePhp is a great framework as far as I am concern. Anyway, I had taken a look at barcampsg and it sound really cool. How do I get onto the bandwagon?</description>
		<content:encoded><![CDATA[<p>I am currently using CakePhp on a websitel. The test suite mention by Micheal Cheng is created by one of the main developer of Cake.</p>
<p>I have no experience in that test suite as the testing portion is left to my colleague. Will feedback once I gather my hands on that info.</p>
<p>CakePhp is a great framework as far as I am concern. Anyway, I had taken a look at barcampsg and it sound really cool. How do I get onto the bandwagon?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: choonkeat</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-97229</link>
		<dc:creator>choonkeat</dc:creator>
		<pubDate>Sun, 21 Jan 2007 01:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-97229</guid>
		<description>small typo: blog.yanime.org ;-)

Hmm... migrations would&#039;ve been swell for PHP crowd, but I believe Python has a similar schema version control... part of SQLxxx can&#039;t remember</description>
		<content:encoded><![CDATA[<p>small typo: blog.yanime.org ;-)</p>
<p>Hmm&#8230; migrations would&#8217;ve been swell for PHP crowd, but I believe Python has a similar schema version control&#8230; part of SQLxxx can&#8217;t remember</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Cheng</title>
		<link>http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/comment-page-1/#comment-97105</link>
		<dc:creator>Michael Cheng</dc:creator>
		<pubDate>Sat, 20 Jan 2007 17:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/2007/01/21/barcamp-singapore-jan-2007/#comment-97105</guid>
		<description>I&#039;m told that there&#039;s a Unit Testing software out there for Cake PHP.

Here&#039;s the link: &lt;a href=&quot;http://cakeforge.org/projects/testsuite/&quot; rel=&quot;nofollow&quot;&gt;http://cakeforge.org/projects/testsuite/&lt;/a&gt;

Cheers,

Michael Cheng</description>
		<content:encoded><![CDATA[<p>I&#8217;m told that there&#8217;s a Unit Testing software out there for Cake PHP.</p>
<p>Here&#8217;s the link: <a href="http://cakeforge.org/projects/testsuite/" rel="nofollow">http://cakeforge.org/projects/testsuite/</a></p>
<p>Cheers,</p>
<p>Michael Cheng</p>
]]></content:encoded>
	</item>
</channel>
</rss>

