VEsession - Flex photography studio management and client ordering application

My wife saw the application that I am working on at work to manage tasks and immediately asked, "Where's mine?"

21st century honey-do list.

So far, this is what I have created. PureMVC is the underlying framework. The photos are loaded from SlideShowPro Director XML galleries. Unforutately, the most recent version of SSP-D won't let you use it as a service in this way. This older version is has all the functionality I need though, so it isn't an issue. Eventually I will implement functionality to eliminate the need for SSP-D with some gallery management. It will be better to keep it all under one roof.

The backend is Django using pyAMF for communications back and forth. Django elminates the pain of CRUD operations and provides an excellent admin interface for free.

My goal is to open source the application and provide it as a PureMVC/Django example.

UPDATED: This version is a little jacked because I am working on a new version. The demo images are way too big and cause the application to scroll in unsightly ways. The new demo is located here, and uses the same credentials as below.

[Here is the demo]
user: demo_client
pass:demo_client

session_sshot.jpg

[source]

Do to some, uh, laziness on my part, this will only compile with strict mode turned off The new version does not have this problem.

13 Responses to “VEsession - Flex photography studio management and client ordering application”


  1. 1 Craig

    Hi,

    When will you be posting the source, I’ve very curious to see how you managed users within the flex application and django. Currently I’m having problems with the user request not having the user information after the user has authenticated. Any input you might could give on how you accomplished this would be great.

    ~ Craig

  2. 2 Joel

    Hi Craig,

    http://joelhooks.com/2008/01/05/django-authentication-from-flex/

    I am going about this from a different direction. I grab the user objects from Django and then parse the passwords on the Flex side.

  3. 3 Ben Marinic

    Great work Joel! I’m working on pretty much the same project at the moment. My client has a portfolio and I’ve developed the CMS with Django. I’ve only just got PyAMF up and running and have yet to properly start the Flex side of things. Questions on there way! ;)
    Ben

  4. 4 akaihola

    Looks fantastic!

    I’m wondering about a couple of choices you’ve made:

    Doesn’t doing authentication on the client side expose a vulnerability, since a fake client could just claim it verified a correct password?

    Also, in a previous post you said you’re using the Seasar RemotingService. Does that have some benefits compared to Flex’s internal RemoteObject component?

  5. 5 Joel

    Doesn’t doing authentication on the client side expose a vulnerability, since a fake client could just claim it verified a correct password?

    This is a good point. I’m not dealing with any sensitive data, but it isn’t a very good practice either way. I honestly hadn’t even considered somebody creating a rogue client to bypass the authentication. I will have to investigate server side authentication with pyAMF.

    I was using the Seasar RemotingService when I first started because the DjangoAMF tutorials and examples used it. When I switch over I didn’t see any particular need to refactor it out, so there it sits.

  6. 6 Aaron Fay

    Hi Joel, nice work :)
    I’m currently porting your source to use newforms-admin. I’ll send you the branch when I’m done.

    Cheers,
    Aaron

  7. 7 Aaron Fay

    Curious, I’m having all sorts of flex compiling issues, what version of flex builder are you using?

    Aaron

  8. 8 Joel

    @Aaron - That is fantastic. I’m looking forward to it.

    It was compiled with FlexBuilder 3 beta 3.

    If anybody has interest in working on the project (despite my sloppy commented code :P ), please just let me know. I will give you write access to the SVN.

  9. 9 Michael Schramm

    This seems to be a perfect starting point for an app I like to build. I was wondering if you are still working on it?
    Michael

  10. 10 Joel

    I am, the current version is a lot different than the screenshot above:

    http://joelhooks.com/session u/p:demo_client

    I’m a little hung up on the wall designer right now, but I need to make a push soon because we’d like to use the new version as opposed to the old. I still have a large list of things I want to do with it. This includes moving it over to PHP and bringing the photo managment aspect of the application into the codebase (currently it is a 3rd party commercial application for this)

  11. 11 Jason B

    Joel,

    I’ve got a Photographer friend that could really use something like this. Since it’s been a month since the last comment I’m wondering what assistance you still need in getting this to a release point? I’ve got Flex and Django experience and small nuggets of time here and there.

    Jason

  12. 12 Joel

    Well,

    We actually use it already (for almost a year!). I’d have to look and
    see what revision it is we use. The current incarnation has been put
    on hold. The client ordering bits work, but I’m displeased with
    several aspects of the design. The backend is a hodge podge of various
    systems and third party tools, so I want to create a proper management
    front-end and corresponding database.

    What aspects of the application are you looking at for your friend?
    Maybe I can break it down, or help you pull out the useful bits.

    Cheers,

    Joel

  13. 13 Eileen

    I was just wondering if this was still available free, and where from exactly? I’m very interested in it, it looks fantastic :)

Leave a Reply