Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-25 Thread Evert | Collab
A webservice commonly does this:

* authentication (optional)
* a service/method is invoked with an optional set of arguments
* the service returns a result

Why not abstract your service system to allow SOAP + REST + XML-RPC + 
JSON + AMF ?

As long as the interface is abstracted, it doesnt matter anymore and for 
every problem you can pick the best tool for the job..

Evert

Dustin Mercer wrote:

 Something I have done in the past is to create a hybrid solution. One 
 of the biggest advantages of Web Services is of course its ability to 
 be consumed by just about everything. That being said, Java can 
 consume web services! I have found creating Web Service Facades that 
 FDS connects to can keep both sides happy. You get the performance of 
 AMF to the client side, and you get to keep your services in one 
 central location (as long as you don’t try to recreate business logic 
 in java, just make it the middle man). One definite downfall is your 
 J2EE server will do the parsing and translation of the web services 
 (this can impact all users as the system scales if the server isn’t 
 very powerful, or the services are poorly designed), as well as the 
 consumption of services in java isn’t always the easiest thing. On the 
 flip side of that your java server can also do the exception handling 
 and send better exceptions to the client side. This may be a good 
 middle ground for those searching for the benefits of both.

 Dustin Mercer

  


-- 
www.rooftopsolutions.nl




--
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/
 




Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-24 Thread Evert | Collab
You are forgetting that if a request takes half the time to complete, it 
needs less cpu time and you can double the concurrent requests per server.

Evert

Dave Wolf wrote:
 I simply have to disagree here.  We can demonstrate several in
 production applications which we have developed using SOAP XML
 WebServices and they perform like a champ.  One of them was the runner
 up for last years MAX award.  The majority of the applications we
 develop use this architecture and to date not a single time has a
 client nor a user complained about the performance of runtime data
 services based on SOAP.

 There are a few false rumors that continue to creep up in the Flex
 community about the performance issues around SOAP.

 There are benchmarks which show that AMF can be drastically faster
 than a SOAP call for the same data.  Sometimes even 100% faster.  Yup
 that's true there are.  But you have to peel away the layers of the
 onion to see the reality.  Statistics can be misleading.  For
 instance, if AMF is 300 milliseconds and SOAP is 600 milliseconds the
 100% difference isnt even relative.  How many people do you know who
 can even see 1/3 of a seconds difference?  In the end raw marshalling
 isnt the issue, it is the user and their experience.  Flex2 made
 DRASTIC improvements it the performance of XML parsing and in our own
 benchmarks the delta between the two services choices is often as low
 as 10%.

 Of a much greater impact that the marshalling time is the UI
 shredding and binding of the data.  Most badly performing RIA's
 suffer from data being returned from the back-end in a format that
 holds no fidelity with the RIA.  This requires the RIA to tear apart
 the returned structural data and place it into its own structures and
 objects and bind those to UI controls.  Developing your user
 experience in a front-to-back approach which assures great fidelity
 between the data formats of the tiers can account for an order of
 magnitude performance increase.  That is the kind of performance
 increase users will actually experience.  

 There are many other very smart things you can do like extending
 existing controls to do streaming rendering of data to provide the
 perception of speed, server side paging, caching, etc.  

 In the end perception is reality.  All that matters from the UI
 perspective is the experience that the user has.  Worring about 300
 milliseconds is like trying to debate the number of angels that could
 dance on the end of a pin.  If the user can't see them, it doesn't
 matter how many there are.

 The running rumor that you simply cannot develop first class RIAs in
 Flex using a SOAP web services back-end is simply not accurate, and we
 have the apps in production with our clients to prove it.


   



--
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/
 





Re: [flexcoders] Flex 2 and document encryption

2006-08-22 Thread Evert | Collab
Using https would be a good way.. that way everything will happen on a
much lower level..

Evert

Wally Randall wrote:
 Does anyone know of action script functions capable of encrypting 
 documents on the client prior to upload to the server?






 --
 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



  



   




--
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/
 




Re: [flexcoders] Re: xml framework

2006-05-15 Thread Evert | Collab



I have some test scripts that do that in PHP.. It's still in an untested 
beta phase..
If you want to see some code or discuss it, drop me a line..

Evert

Suzy Lawson wrote:
 Sorry, for clarification, I'm very familar with the Cairngorm
 framework. This would be *completely* outside of it. This XML
 framework would handle solely converting xml to objects and vice
 versa. In my mind, the xml framework would be called from the Command
 class of caingorm before calling URLLoader

 --- In flexcoders@yahoogroups.com, Suzy Lawson [EMAIL PROTECTED] wrote:
 
 I'm building a Flex 2 app that has all incoming/outgoing data as XML
 (custom structured...not like an RSS for example). The XML requires
 namespaces and will likely have changes in structure. There will be
 multiple incoming XML formats (e.g, Product, Customer, Contact,
 Calendar Entry).

 With that said, it seems I need to build a framework to handle
 incoming XML, forward it to the correct handler to transfer the data
 to it's related typed class, and add the typed class to the view. The
 framework will also re-create the XML before sending the request.
 Should be easy with E4x.

 Seems straight-forward enough but seems odd there doesn't seem to be
 any documentation or existing frameworks that completely abstract the
 xml layer from the UI. Being a java developer, I look forward to
 writing it (and posting it publicly)...just want to make sure I'm not
 re-inventing the wheel. Seems like a common need that no one has
 addressed. 

 If people are using the returned XML as your data object in the view,
 it could be cumbersome to fix in all the views if the structure changes.

 







 --
 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



 




 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












Re: [flexcoders] Re: Large XML Dataset?

2006-04-05 Thread Evert | Collab
Lets say...

you have 10 records,

aa
ab
ac
ad
ae
ba
bb
bc
bd
be

you could create an xml file which tells you all records that start with 
a* can be fetched from a.xml
but yea, this is overly simplified.

Well, in short.. see where you can split up your xml and if its needed 
create a central xml file telling where which records can be found...

Evert

wayneposner wrote:
 --- In flexcoders@yahoogroups.com, Evert | Collab [EMAIL PROTECTED] wrote:
   
 Is there any chance you can split up the xml in multiple categories. 
 
 Or 
   
 maybe with a 'global xml index' of some kind?

 Evert
 

 Could you please explain what you mean by global xml index?

 Wayne






 --
 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



  



   



--
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/
 





Re: [flexcoders] Large XML Dataset?

2006-04-04 Thread Evert | Collab
Is there any chance you can split up the xml in multiple categories. Or 
maybe with a 'global xml index' of some kind?

Evert

wayneposner wrote:
 I've been searching and searching, but haven't been able to find the 
 answer, so I'm posting here as a last resort.

 I am working on a Flex application that must read in a fairly large 
 XML file (1.5 to 3 megs depending).If I were to base my 
 application off of the flexstore example, I'd just open up the XML 
 file and try to read in everything. This works fine for 500-
 1000 records, but, unfortunately, has some pretty nasty effects 
 when dealing with about 12000 thumbnails.  

 When it comes to reading XML I'm not sure of e4x, object, or XML is 
 the most efficent result set.  Regardless...is there a way to open 
 the XML file, but not read from it until a user enters a search and 
 then only return nodes from the XML which match the search?  
 Basically, I want to use the XML file as sort of a virtual 
 database.  

 The reason I have to go this route is that the application will be 
 delivered via CD and is meant to run as a desktop application.

 Thanks!
 Wayne





 --
 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



  




   



--
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/