RE: [flexcoders] Newbie SOA question (maintaining login state)

2009-04-08 Thread Michael Pengi

I'd be interested in hearing more about this. Isn't there a 'normal' way to
do this with flex? Maintaining login state would seem to be a basic
requirement for web apps. Just curious.


Tracy Spratt wrote:
 
 I have a lot to learn about security, and had difficulty wading through
 all
 of the levels and options, so I devised my own programmatic solution.
 
 When a user logs in from the Flex app (md5 hash on the password), I create
 a
 sessionId, store it in a hashtable in the .net app, and pass it back to
 the
 Flex app.  The Flex app sends this token with each call.  The server
 checks
 the passed in session id and compares the timestamp to the current time. 
 If
 it is within the timeout period specified, it updates the timestamp and
 authorizes the call.  If authorization fails, the user must log in again.
 
 I am certainly open to a better approach.
 
 Tracy Spratt,
 
 Lariat Services, development services available
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of variableop
 Sent: Friday, April 03, 2009 4:07 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Newbie SOA question
 
  
 
 I would like to provide a solution to maintaining login state over
 multiple
 calls to my .NET web service layer. So basically, the user logs in, then
 stores a login token internally on the Flex side so that each web
 service
 call can be authenticated as being made by someone who has already logged
 in to the system. Does anyone have any ideas on how to approach this? My
 initial approach was to cache the user's username/password and
 authenticate
 on each web service call (Direct Authentication). I was told, for obvious
 reasons, that this is insecure method and requires database hit each call.
 I
 am trying to implement WSE 3.0 enabled web services on the .NET side. Is
 this an SSO problem, or should I be using STS/Brokered Authentication
 approach? We just started our upgrade to VS2008, so maybe I should just
 pursue WCF methods instead? Any experiences with this would be greatly
 appreciated.
 
 TIA,
 
 variable
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Newbie-SOA-question-tp22875841p22962243.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] How to open a flex project that was created elsewhere?

2007-11-30 Thread Michael Pengi

I've downloaded a sample flex application, how do I open it in the flex
builder 3 IDE? There is no 'Open Project' menu option, only New...Flex
Project and so forth?
-- 
View this message in context: 
http://www.nabble.com/How-to-open-a-flex-project-that-was-created-elsewhere--tf4923183.html#a14088912
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] How to open a flex project that was created elsewhere?

2007-11-30 Thread Michael Pengi

Maybe that works in Flex 2, but the menu options in Flex 3 beta 2 are
different.

Import, then Flex Project, but it want a zip file. The project I'm working
with isn't in zip format, it's a folder inside a zip that contains other
stuff...iow it's does not seem to be a 'flex project archive'.


Anthony DeBonis wrote:
 
 
 Go to Menu: File  Import ... then choose Existing Project to Workspace.
 
 Then choose the directory where the project lives, works well.
 
 
 --- In flexcoders@yahoogroups.com, Michael Pengi [EMAIL PROTECTED] wrote:

 
 I've downloaded a sample flex application, how do I open it in the 
 flex
 builder 3 IDE? There is no 'Open Project' menu option, only New...Flex
 Project and so forth?
 -- 
 View this message in context: http://www.nabble.com/How-to-open-a-
 flex-project-that-was-created-elsewhere--tf4923183.html#a14088912
 Sent from the FlexCoders mailing list archive at Nabble.com.

 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-open-a-flex-project-that-was-created-elsewhere--tf4923183.html#a14101356
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Flex for database apps; compare to .net

2007-11-25 Thread Michael Pengi

I'm pretty new to .net also, so I suppose flex data services would be about
the same learning curve.

FDS, would it have any advantages over taking a .net approach? I seem to
recall that FDS/LCDS has two way update notification/synching services or
something of that order, which I took to mean that the flex ui would be
updated passively if changes are made to the viewed data by another user?
Would that be hard to emulate in .net, or would fluorine or WebOrb be able
to help with that?

Fluorine would connect flex and the .net side. But I'm not clear what the
.net methods that you describe are exactly? Would they be a set of classes
that call sprocs in the sql server db, either built manually or as generated
by an ORM?

I'm not clear on the limitations of the free version of LCDS, and what it
costs if you need to go beyond the limitations of the free version?


Samuel R. Neff wrote:
 
 
 Flex does not talk to a database directly (except with AIR but I gather
 you're talking about a web app).  Flex talks to a back end which then can
 talk to a database.  Flex works really well with pretty much any back end,
 so if you're familiar with .NET stick to that, no reason to go to FDS/LCDS
 or anything else.
 
 The best way to communicate between Flex and .NET is through AMF Remoting.
 With that you can call .NET methods directly and the middle-ware libraries
 take care of the details for you.  We use an open-source library called
 Fluorine but there is also a commercial library called WebOrb available.
 
 http://fluorine.thesilentgroup.com/fluorine/index.html
 
 You definitely want to start with Flex Builder 3.  No reason to use Flex
 Builder 2, the IDE is very stable.  You can choose to target either the
 Flex
 2 or Flex 3 SDK's and that choice depends on your release date.  If you're
 releasing before about March 2008 then you may want to stick with the Flex
 2
 SDK.  If later, then use Flex 3 SDK.  An exact date has not been announced
 for Flex 3 release, but they've said Q1 2008.
 
 I would suggest ignoring Cairngorm for now--start out learning to develop
 flex apps and just use your pre-existing knowledge to partition out your
 apps well so you don't have an ugly mess of spaghetti code.  After you're
 more familiar with Flex you can decide if Cairngorm or any framework is
 right for you and your apps.
 
 HTH,
 
 Sam
 
 ---
 We're Hiring! Seeking a passionate developer to join our team building
 Flex
 based products. Position is in the Washington D.C. metro area. If
 interested
 contact [EMAIL PROTECTED]
  
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Michael Pengi
 Sent: Saturday, November 10, 2007 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex for database apps; compare to .net
 
 
 I am considering flex for building data centric applications for use over
 the
 lan or internet. I have some experience with .net and am curious to hear
 from other that are familiar with .net and how it compares. I have read a
 couple of times that Visual Studio might be considered 'ahead' of Flex
 Builder. But my #1 interest is being able to wire up sql databases to the
 ui
 in the simplest manner possible, ie not a ton of code.
 
 For experiments with flex, I would most like to take apart a tutorial or
 sample app that does standard db crud stuff, with multiple forms, related
 tables, data entry, that sort of thing. Can someone point me to the best
 example app of this type? Most demo apps I've seen are not mostly about
 crud.
 
 From what I've read, flex data services (or whatever it's been renamed as)
 has a free version that is ok to use for commercial purposes, though
 non-clustered. Not sure what the other limitations of the free version
 are?
 
 I've read about Cairngorm, but am not really sure were it fits into the
 flex
 scheme.
 
 Finally, would it be good to start with Flex 3 beta 2, or should I stick
 with Flex 2 for now?
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Flex-for-database-apps--compare-to-.net-tf4784184.html#a13942946
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Flex for database apps; compare to .net

2007-11-16 Thread Michael Pengi

Thanks everyone, all of your posts were useful, Samuel's in particular.


Samuel R. Neff wrote:
 
 
 Flex does not talk to a database directly (except with AIR but I gather
 you're talking about a web app).  Flex talks to a back end which then can
 talk to a database.  Flex works really well with pretty much any back end,
 so if you're familiar with .NET stick to that, no reason to go to FDS/LCDS
 or anything else.
 
 The best way to communicate between Flex and .NET is through AMF Remoting.
 With that you can call .NET methods directly and the middle-ware libraries
 take care of the details for you.  We use an open-source library called
 Fluorine but there is also a commercial library called WebOrb available.
 
 http://fluorine.thesilentgroup.com/fluorine/index.html
 
 You definitely want to start with Flex Builder 3.  No reason to use Flex
 Builder 2, the IDE is very stable.  You can choose to target either the
 Flex
 2 or Flex 3 SDK's and that choice depends on your release date.  If you're
 releasing before about March 2008 then you may want to stick with the Flex
 2
 SDK.  If later, then use Flex 3 SDK.  An exact date has not been announced
 for Flex 3 release, but they've said Q1 2008.
 
 I would suggest ignoring Cairngorm for now--start out learning to develop
 flex apps and just use your pre-existing knowledge to partition out your
 apps well so you don't have an ugly mess of spaghetti code.  After you're
 more familiar with Flex you can decide if Cairngorm or any framework is
 right for you and your apps.
 
 HTH,
 
 Sam
 
 ---
 We're Hiring! Seeking a passionate developer to join our team building
 Flex
 based products. Position is in the Washington D.C. metro area. If
 interested
 contact [EMAIL PROTECTED]
  
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Michael Pengi
 Sent: Saturday, November 10, 2007 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex for database apps; compare to .net
 
 
 I am considering flex for building data centric applications for use over
 the
 lan or internet. I have some experience with .net and am curious to hear
 from other that are familiar with .net and how it compares. I have read a
 couple of times that Visual Studio might be considered 'ahead' of Flex
 Builder. But my #1 interest is being able to wire up sql databases to the
 ui
 in the simplest manner possible, ie not a ton of code.
 
 For experiments with flex, I would most like to take apart a tutorial or
 sample app that does standard db crud stuff, with multiple forms, related
 tables, data entry, that sort of thing. Can someone point me to the best
 example app of this type? Most demo apps I've seen are not mostly about
 crud.
 
 From what I've read, flex data services (or whatever it's been renamed as)
 has a free version that is ok to use for commercial purposes, though
 non-clustered. Not sure what the other limitations of the free version
 are?
 
 I've read about Cairngorm, but am not really sure were it fits into the
 flex
 scheme.
 
 Finally, would it be good to start with Flex 3 beta 2, or should I stick
 with Flex 2 for now?
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Flex-for-database-apps--compare-to-.net-tf4784184.html#a13785689
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Flex for database apps; compare to .net

2007-11-14 Thread Michael Pengi

Thanks, I'll focus on 3.0, though being new to flex and with the docs for 3.0
somewhat thin now, not sure what I'll be able to figure out. I hope adobe
provides some straightforward db oriented tutorials, web services play only
a minor role in most of my fellow developer's workload, db interaction is
where it's at.

I'd appreciate anyone else's input on these subjects.
 

Steve Hueners wrote:
 
 On 11/10/07, Michael Pengi [EMAIL PROTECTED] wrote:

  I have read a
  couple of times that Visual Studio might be considered 'ahead' of Flex
  Builder.
 
 VS is a far more polished IDE than FB2 - FB3 will close the gap a bit
 but not all the way. But some interesting things are developing in
 terms of delivering sample code and the framework documentation might
 actually be easier to digest than MS's.
 
But my #1 interest is being able to wire up sql databases to the ui
  in the simplest manner possible, ie not a ton of code.
 
 I'm on the front side of the same learning curve but my impression is
 that the UI is way easier to code for than .net provided you code to
 best practices and patterns. It looks to me like opportunity to map
 the same objects on both sides of the data tier
 (http://flex.sys-con.com/read/418939.htm#) could give us the best of
 both worlds - the advantage of sproc-based data-managment filtered by
 .net assemblies feeding the Flex's rich UI.
 
 Can someone point me to the best
  example app of this type? Most demo apps I've seen are not mostly about
  crud.

 
 If you want to focus that narrowly on the CRUD aspect to Flex code you
 probably want to dig into the code generation capabilities and
 limitations coming in Flex 3 - not a great many tutes speaking to that
 yet -
 (http://www.onflex.org/ted/2007/09/flex-3-beta-2-code-debug-profiler.php)
 
  I've read about Cairngorm, but am not really sure were it fits into the
 flex
  scheme.
 
 Framework choices explored at:
 http://www.asserttrue.com/articles/2007/10/17/silvafug-application-frameworks-presentation
 
  Finally, would it be good to start with Flex 3 beta 2, or should I stick
  with Flex 2 for now?
 
 Flex 3 imo.
 
 --steve...
 
 

-- 
View this message in context: 
http://www.nabble.com/Flex-for-database-apps--compare-to-.net-tf4784184.html#a13739323
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Flex for database apps; compare to .net

2007-11-10 Thread Michael Pengi

I am considering flex for building data centric applications for use over the
lan or internet. I have some experience with .net and am curious to hear
from other that are familiar with .net and how it compares. I have read a
couple of times that Visual Studio might be considered 'ahead' of Flex
Builder. But my #1 interest is being able to wire up sql databases to the ui
in the simplest manner possible, ie not a ton of code.

For experiments with flex, I would most like to take apart a tutorial or
sample app that does standard db crud stuff, with multiple forms, related
tables, data entry, that sort of thing. Can someone point me to the best
example app of this type? Most demo apps I've seen are not mostly about
crud.

From what I've read, flex data services (or whatever it's been renamed as)
has a free version that is ok to use for commercial purposes, though
non-clustered. Not sure what the other limitations of the free version are?

I've read about Cairngorm, but am not really sure were it fits into the flex
scheme.

Finally, would it be good to start with Flex 3 beta 2, or should I stick
with Flex 2 for now?
-- 
View this message in context: 
http://www.nabble.com/Flex-for-database-apps--compare-to-.net-tf4784184.html#a13686770
Sent from the FlexCoders mailing list archive at Nabble.com.