Hi Jonas,

I will give you an opinion from my personal experience and
perspective. I am sure there will be different point of views on this
subject. Essentially it comes down to what's important for you and
your application. There are several variables in the formula:

1. application performance
2. time to market 
3. speed of development 
4. development cost
5. overall project cost (includes product licensing, development cost,
maintenance and operations cost)

So here's my breakdown for each option you have listed:

ASP.NET Web Services
--------------------
Pros:
- lower development cost
- reduced project cost
- adequate speed of development (potentialy offset by problems listed
in 'Cons')

Cons:
- slower performance (compare to other alternatives)
- potential problems with data serialization (.NET strongly typed
datasets are known to cause problems for many SOAP stacks other than .NET)
- some applications may require tighter client/server integration
(ability to use session scope, custom serialization, etc). Some of
these concepts may not be available or would require considerable
development and QA efforts.

Flex Remoting using WebORB
--------------------------
Pros:
- superb application performance due to binary data on-the-wire 
- shorter time to market
- reduced development cost
- rich client/server development environment with lots of
customization options (configurable service activation, custom
serialization, customizable client/server object mapping, etc)

Cons:
- for simpler projects greater licensing cost than with WebServices

Flex DataServices for .NET using WebORB
---------------------------------------
Pros:
- works just like Adobe's FDS for Java (beta 5 provides a subset of
functionality - RPC and FDMS are available today)
- ideal for data-driven and/or real-time messaging applications
- availability of significant data management and messaging infrastructure
- reduced development time - developers focus just on the core data
access/update logic

Cons:
- greater licensing cost

I am very interested to hear other people opinions on this subject.

cheers,
Mark

--- In flexcoders@yahoogroups.com, "Jonas Windey" <[EMAIL PROTECTED]> wrote:
>
> Hi Mark,
> 
>  
> 
> Thanks for your explanations. We (our team) are still not 100% sure what
> method is the best to follow. I've been following Flex2 since the alpha
> version, and due to our experience with .NET (just regular websites with
> some Ajax), we have chosen to go with a Web Services approach.
> 
> Not having any experience with Flash remoting (before, we used Flash in
> combination with regular asp to provide xml data to flash), this was the
> easiest way.
> 
>  
> 
> Can anyone give some pros and cons on some ways of working with .NET and
> Flex? It seems there are 3 choices:
> 
> -          ASP.NET Web Services
> 
> -          Flex Remoting using WebORB
> 
> -          Flex DataServices using WebORB
> 
>  
> 
> (don't mention FDS, since we are running in a Windows environment
using IIS,
> and some customers who dislike Java)
> 
>  
> 
> The projects we work on are mainly Media Asset Management tools,
together
> with admin. Our database is MS SQL 2005, using stored procedures.
> 
> Sidenote: we're using asp.net 2.0.
> 
>  
> 
> All tips are welcome!
> 
>  
> 
> Jonas
> 
>  
> 
>   _____  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of mpiller
> Sent: donderdag 13 juli 2006 15:33
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: WebORB for .net beta5: feedback
> 
>  
> 
> Hi Jonas,
> 
> I just want to clarify a few things to help avoid possible confusion.
> 
> If you're doing Flex remoting (ie invoke .NET objects from Flex using
> RemoteObject), you do not need to do anything special at all - no need
> for special method attributes, no need to register methods in xml
> files - just drop your assembly into /bin folder and register a
> destination in remoting-config.xml and you are done.
> 
> However if you're doing data management using mx.data.DataService on
> the client side, then you need to register your data assembler methods
> in data-management-config.xml. Normally you would have one or more
> methods to do 'fills' and just one method to do 'syncs'. This will be
> optional in Beta6 as we will be publishing an interface that your data
> assembler class can implement.
> 
> Hope this helps.
> 
> cheers,
> Mark
> 
> --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
ups.com,
> "Jonas Windey" <jonas@> wrote:
> >
> > Hi Tim,
> > 
> > 
> > 
> > Well, my first impression is that it's pretty complex, at least a
> lot more
> > complex than just creating ASP.NET Web services and calling them
> from flex.
> > 
> > Apparently you need to place all your remote methods in xml config
> files.
> > Etc. The tutorials from
> > http://www.themidni
> <http://www.themidnightcoders.com/articles/datamanagement-part3.htm>
> ghtcoders.com/articles/datamanagement-part3.htm
> help a
> > lot, but it's still a huge change, also in the way of thinking. (eg
> updating
> > data with the sync methods, changeobjects etc). Also you use a lot
more
> > databinding, whereas with web services you just fill your datagrid or
> > treeview with the data you receive, and in the case of an update,
> you will
> > probably use a web service too to update the current row. Here you
> just omit
> > your changes to your dataService, and he handles all the rest.
> > 
> > 
> > 
> > I think the Flex + .NET + WebORB community is pretty small at the
moment
> > though, so it would be nice of some gurus from this list play a bit
> with it
> > like I'm doing right now.
> > 
> > 
> > 
> > Jonas
> > 
> > 
> > 
> > _____ 
> > 
> > From: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
ups.com
> [mailto:[EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
ups.com]
> On
> > Behalf Of Tim Hoff
> > Sent: donderdag 13 juli 2006 11:32
> > To: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com
> > Subject: [flexcoders] Re: WebORB for .net beta5: feedback
> > 
> > 
> > 
> > Hey Jonas,
> > 
> > Please let us know what your impressions of WebORB are after you 
> > have had a chance to work with it a little. I'll be switching 
> > from .NET WebServices to RemoteObject soon, so I would love to hear 
> > about your experience.
> > 
> > Thanks,
> > Tim Hoff
> > 
> > --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
> ups.com,
> > "Jonas Windey" <jonas@> wrote:
> > >
> > > Ok, I forgot to read my mails last night. Apparantly Mark Piler 
> > from
> > > themidnightcoders.com sent me a mail after noticing that I had 
> > downloaded
> > > the beta 5 (which had just been released), writing the following:
> > > 
> > > 
> > > 
> > > A quick workaround is to open web.config 
> > from /Inetpub/wwwroot/weborb and
> > > remove the following two lines:
> > > 
> > > 
> > > 
> > > <add assembly="vjslib, Version=2.0.0.0, Culture=neutral,
> > > PublicKeyToken=B03F5F7F11D50A3A"/>
> > > 
> > > <add assembly="BlueDragon, Version=6.2.1.0, Culture=neutral,
> > > PublicKeyToken=7551335DE9FC3C36"/>
> > > 
> > > 
> > > 
> > > Please make sure that the closing tags for <assemblies> and 
> > <compilation>
> > > stay in the file (they are on the same line as the BlueDragon 
> > reference).
> > > 
> > > 
> > > 
> > > You can always check if web.config is valid by opening the 
> > following URL:
> > > 
> > > http://localhost/
> > <http://localhost/
> <http://localhost/weborb/examples/testsuite/client/testsuite.aspx>
> weborb/examples/testsuite/client/testsuite.aspx>
> > weborb/examples/testsuite/client/testsuite.aspx
> > > 
> > > 
> > > 
> > > How nice is this? :-) I guess he must get a notification every 
> > time someone
> > > downloads his product, and check if everything is working.
> > > 
> > > 
> > > 
> > > So, I got the Contact Manager sample working now, let's play 
> > around a bit.
> > > 
> > > 
> > > 
> > > Jonas
> > >
> > 
> > 
> > 
> > __________ NOD32 1.1656 (20060712) Information __________
> > 
> > This message was checked by NOD32 antivirus system.
> > http://www.eset. <http://www.eset.com> com
> >
> 
>  
> 
> __________ NOD32 1.1656 (20060712) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to