<?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: Flex or the Server, What&#8217;s Your Focus?</title>
	<atom:link href="http://jacwright.com/blog/65/flex-or-the-server-whats-your-focus/feed/" rel="self" type="application/rss+xml" />
	<link>http://jacwright.com/blog/65/flex-or-the-server-whats-your-focus/</link>
	<description>Flex, AIR, PHP, etc.</description>
	<lastBuildDate>Thu, 29 Jul 2010 18:05:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jay Chanowitz</title>
		<link>http://jacwright.com/blog/65/flex-or-the-server-whats-your-focus/comment-page-1/#comment-6886</link>
		<dc:creator>Jay Chanowitz</dc:creator>
		<pubDate>Sat, 26 Jan 2008 18:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/65/flex-or-the-server-whats-your-focus/#comment-6886</guid>
		<description>Hi,

I&#039;ve been exploring using Flex with Salesforce, using the Flex Toolkit as a connector to the database.  Server side functionality over and above persistence is implemented with their Apex code stored procedures platform.  The advantage is I can deliver SaaS products very quickly - no need to manage a server farm.

The concerns I&#039;m seeing here is with security.  For example, if I use a role-based permissions framework to expose appropriate functionality on the client, I&#039;m feeling exposed to someone messing with returned roles from the server, etc.  

Any thoughts on the security implications between these two approaches?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve been exploring using Flex with Salesforce, using the Flex Toolkit as a connector to the database.  Server side functionality over and above persistence is implemented with their Apex code stored procedures platform.  The advantage is I can deliver SaaS products very quickly &#8211; no need to manage a server farm.</p>
<p>The concerns I&#8217;m seeing here is with security.  For example, if I use a role-based permissions framework to expose appropriate functionality on the client, I&#8217;m feeling exposed to someone messing with returned roles from the server, etc.  </p>
<p>Any thoughts on the security implications between these two approaches?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Gwiazda</title>
		<link>http://jacwright.com/blog/65/flex-or-the-server-whats-your-focus/comment-page-1/#comment-6879</link>
		<dc:creator>Peter Gwiazda</dc:creator>
		<pubDate>Sat, 26 Jan 2008 14:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/65/flex-or-the-server-whats-your-focus/#comment-6879</guid>
		<description>Hi Jacob,
we tried both of Your concepts.
In CRM/Project management application we used a model, where whole JPA ORM model was mapped between Java and Flex, and objects of entity classes were transfered between java and flex. That made server side very simple (sometimes only basic methods of persistence manager wich is very easy in EJB3). But this causes some problems 
- too much data is send to flex - whole objects with depedencies are transfered and shown in grid with 2 columns
- all users see the same data - it&#039;s hard to lock properties of objects for some user (e.g. project manager can see project&#039;s budget, but programmers don&#039;t) - such data should&#039;t be passed to client

Now we&#039;re trying to make simple but reusable CMS, that shoul be configurable (without writing any code) for any database model. This means we have to make client-server architecure for passing any data - flex-java class mapping is impossible, because we don&#039;t know data model while wrting the framework. The idea is to create something like queries for objects defining fields, pagination, filters etc.

I think the choice between client-centered or server-centered architecture should be made in context of the problem to solve.</description>
		<content:encoded><![CDATA[<p>Hi Jacob,<br />
we tried both of Your concepts.<br />
In CRM/Project management application we used a model, where whole JPA ORM model was mapped between Java and Flex, and objects of entity classes were transfered between java and flex. That made server side very simple (sometimes only basic methods of persistence manager wich is very easy in EJB3). But this causes some problems<br />
- too much data is send to flex &#8211; whole objects with depedencies are transfered and shown in grid with 2 columns<br />
- all users see the same data &#8211; it&#8217;s hard to lock properties of objects for some user (e.g. project manager can see project&#8217;s budget, but programmers don&#8217;t) &#8211; such data should&#8217;t be passed to client</p>
<p>Now we&#8217;re trying to make simple but reusable CMS, that shoul be configurable (without writing any code) for any database model. This means we have to make client-server architecure for passing any data &#8211; flex-java class mapping is impossible, because we don&#8217;t know data model while wrting the framework. The idea is to create something like queries for objects defining fields, pagination, filters etc.</p>
<p>I think the choice between client-centered or server-centered architecture should be made in context of the problem to solve.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe Herreman</title>
		<link>http://jacwright.com/blog/65/flex-or-the-server-whats-your-focus/comment-page-1/#comment-6865</link>
		<dc:creator>Christophe Herreman</dc:creator>
		<pubDate>Sat, 26 Jan 2008 07:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/65/flex-or-the-server-whats-your-focus/#comment-6865</guid>
		<description>Hi Jacob,

we are working on Flex based assessment tools that have very big domain models. The role of the server is in our case mainly reduced to CRUD operations. We use Cairngorm and find it to become more difficult to expand on what we are doing because everything is so coupled. To prevent this, we&#039;re using the Prana IoC container (of which I&#039;m the author). It solves some of the dependency lock-ins you have with Cairngorm, but I still feel like we too need another architectural framework for our kind of application. That&#039;s why I&#039;m thinking about adding an MVC implementation in Prana that focuses on the domain model. If you are interested in sharing ideas or co-operating, please contact me.</description>
		<content:encoded><![CDATA[<p>Hi Jacob,</p>
<p>we are working on Flex based assessment tools that have very big domain models. The role of the server is in our case mainly reduced to CRUD operations. We use Cairngorm and find it to become more difficult to expand on what we are doing because everything is so coupled. To prevent this, we&#8217;re using the Prana IoC container (of which I&#8217;m the author). It solves some of the dependency lock-ins you have with Cairngorm, but I still feel like we too need another architectural framework for our kind of application. That&#8217;s why I&#8217;m thinking about adding an MVC implementation in Prana that focuses on the domain model. If you are interested in sharing ideas or co-operating, please contact me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
