<?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: WinDev MVC</title>
	<atom:link href="http://www.funcoder.com/windev-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.funcoder.com/windev-mvc/</link>
	<description>A UK Based WinDEV, WebDEV and WinDEV Mobile Consultant</description>
	<lastBuildDate>Tue, 23 Feb 2010 22:23:41 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: patfrat</title>
		<link>http://www.funcoder.com/windev-mvc/comment-page-1/#comment-1967</link>
		<dc:creator>patfrat</dc:creator>
		<pubDate>Tue, 23 Feb 2010 22:23:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.funcoder.com/2009/08/17/windev-mvc/#comment-1967</guid>
		<description>Hi, 
Your example to get MVC pattern is excellent ! Thank you ... but ...
My colleague starts playing with Windev 15 and HyperfileSQL server ... and I&#039;m surprised he did not have easy access to datas as with RubyOnRails (MVC architecture), with abstraction of data access patterns. 
Example of a blog: article and associated comments.
Two tables : articles and comments
the table comments has a field named article_id
Two models : Article and Comment
Article contains &quot;has_many :comments&quot;
Comment contains &quot;belongs_to :article&quot;
Nothing else ...
I call the article having id=1 : 
art = Article.find(1) 
and I get all its comments with : 
art.comments
If i want to add a new comment containing message and author columns to this article :
c = Comment.new(:author =&gt; &quot;me&quot;, :message =&gt; &quot;hello world&quot;, :article =&gt; art)
c.save
No call to IDAuto or anything like this ...
How can we do this with WinDev 15 ?
Is it possible ?
Thank you in advance ....</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Your example to get MVC pattern is excellent ! Thank you &#8230; but &#8230;<br />
My colleague starts playing with Windev 15 and HyperfileSQL server &#8230; and I&#8217;m surprised he did not have easy access to datas as with RubyOnRails (MVC architecture), with abstraction of data access patterns.<br />
Example of a blog: article and associated comments.<br />
Two tables : articles and comments<br />
the table comments has a field named article_id<br />
Two models : Article and Comment<br />
Article contains &#8220;has_many :comments&#8221;<br />
Comment contains &#8220;belongs_to :article&#8221;<br />
Nothing else &#8230;<br />
I call the article having id=1 :<br />
art = Article.find(1)<br />
and I get all its comments with :<br />
art.comments<br />
If i want to add a new comment containing message and author columns to this article :<br />
c = Comment.new(:author =&gt; &#8220;me&#8221;, :message =&gt; &#8220;hello world&#8221;, :article =&gt; art)<br />
c.save<br />
No call to IDAuto or anything like this &#8230;<br />
How can we do this with WinDev 15 ?<br />
Is it possible ?<br />
Thank you in advance &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rubén Sánchez Peña</title>
		<link>http://www.funcoder.com/windev-mvc/comment-page-1/#comment-1932</link>
		<dc:creator>Rubén Sánchez Peña</dc:creator>
		<pubDate>Wed, 19 Aug 2009 12:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.funcoder.com/2009/08/17/windev-mvc/#comment-1932</guid>
		<description>Very interesting. Thank you. 

In other systems (Java or Net) this approach is obligated. I think in Windev the use of ScreenToFile and the Windows links minimize this necesity and is more easy of maintain.</description>
		<content:encoded><![CDATA[<p>Very interesting. Thank you. </p>
<p>In other systems (Java or Net) this approach is obligated. I think in Windev the use of ScreenToFile and the Windows links minimize this necesity and is more easy of maintain.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
