Salesbuilder source code available

Salesbuilder source code available

As promised, here is the source code for the Salesbuilder Flex / Air sample application:

salesbuilder_src_beta2.zip

Disclaimer: This is work in progress and some code still needs to be polished and documented. I’m planning on continuing to develop the application, starting with complete server integration and synchronization. Your feedback and ideas are welcome.

I also took the opportunity to fix a few bugs. You can install the latest version of the app (corresponding to the source code posted above) here:

Install Salesbuilder

Christophe

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • LinkedIn
  • StumbleUpon
  • Twitter
This entry was posted in Flex. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

46 Comments

  1. Bobby Lashley
    Posted August 22, 2007 at 11:20 am | Permalink

    thanks alot , now i can learn more flexin

  2. Mike Hazard
    Posted August 22, 2007 at 12:18 pm | Permalink

    Thanks for the code. I’ve been checking back every so often to see if you posted it. It’s a very interesting AIR example, and I’m hoping that it might convince people here to consider developing with AIR once it’s a full release.

    Again, thanks!

  3. Robinson Edward
    Posted August 22, 2007 at 12:22 pm | Permalink

    thanks, this code is an incentive to develop good applications.

  4. Scott
    Posted August 22, 2007 at 1:39 pm | Permalink

    License?

  5. Posted August 22, 2007 at 2:26 pm | Permalink

    Scott,
    I’m making this code available under the Open Source MIT license. So feel free to use it or modify it in your own applications.
    Christophe

  6. Posted August 22, 2007 at 2:29 pm | Permalink

    Cheers for sharing Christophe, great stuff! Kharma

  7. Leflou
    Posted August 22, 2007 at 4:27 pm | Permalink

    Thanks! I will learn a lot from that one!

  8. Posted August 22, 2007 at 6:10 pm | Permalink

    I think you’ve just kickstarted a new level of RIA :-)

  9. Michael
    Posted August 23, 2007 at 12:18 am | Permalink

    Hi thank you very much,

    I get an error while trying to drag…

    ReferenceError: Error #1069: Eigenschaft null für com.salesbuilder.model.Opportunity nicht gefunden und es ist kein Standardwert vorhanden.
    at com.salesbuilder.util::DragExcel/::dgToHTML()
    at com.salesbuilder.util::DragExcel/::startDragging()

    Version 0.7 on Mac

    Maybe my fault?
    Mike

  10. Posted August 23, 2007 at 12:58 am | Permalink

    Hi Thanks a lot!!!

  11. Aubweb
    Posted August 23, 2007 at 2:36 am | Permalink

    Hi Christophe,

    Thanks a lot for your job !
    Very helpful !

    Aubry

  12. Posted August 23, 2007 at 5:14 am | Permalink

    The install does not seam to work for me on win XP SP2

  13. Bobby Lashley
    Posted August 23, 2007 at 8:25 am | Permalink

    just a heads up if u decide to open this in flex, delete the bin folder first then compile the program again otherwise ur gona get a couple of error messages and wont let you start

  14. Posted August 23, 2007 at 10:03 am | Permalink

    Mike,
    Good catch. Thanks! I fixed the opportunity drag-and-drop issue issue and just updated both the source code and the air file as version 0.71.
    Christophe

  15. Posted August 25, 2007 at 7:38 am | Permalink

    Hi Mike,

    In the opportunity page when i select a opportunity and double click on it, i am getting the following error.

    ReferenceError: Error #1069: Property OPPORTUNITY_ID not found on com.salesbuilder.model.Opportunity and there is no default value.
    at com.salesbuilder.view::OpportunitySummary/__dg_doubleClick()

    Thanks,
    Sankar

  16. Bobby Lashley
    Posted August 28, 2007 at 9:12 pm | Permalink

    hey i am wondering since i am doing this in flex and not air, is there any way i can upload the data information to microsoft sql or would i have to manually type that stuff

  17. Sheriff
    Posted August 31, 2007 at 2:42 pm | Permalink

    Hey, I was wondering can i get permission to release this app for Flex. I reworked it so that it uses coldfusion and microsoft Sql and rewrote the entire thing with lots of comments so people can understand what is going on.

  18. Garrett
    Posted September 3, 2007 at 4:04 pm | Permalink

    This is great Christophe – thanks a lot. I’m of a newbie to this so I have a question.

    I downloaded the code open up Flex 3 starting a new project using the salesbuilder as my source folder.

    I diden’t change anything my goal is to simply recreate the air application. I try to export it but it but the finish button is greyed out and it shows no files to check or uncheck. Any idea what I am doing wrong? This question is open to anyone so please feel to reply.

    Thanks, Garrett

  19. Garrett
    Posted September 4, 2007 at 4:18 pm | Permalink

    Ok I seem to be getting the hang of this.
    I downloaded the code of other sample Air Apps and successfully compiled them by first using the
    “Import>Existing project s into workspace” option in Flex 3. Once imported I was then able to run the app within the Flex 3 environment (The sample I was using was the Adobes employeedirector)
    I then tried “Import>Existing project s into workspace” with Salesbuilder and it imported successfully. Great. However it will not run giving me the following message
    “The file is not launchable!” I think the problem is with the salesbuilder.mxml file. It opens (i.e. I can view in source) in Flex 2 but will not open in Flex 3.

    Not too sure what I am doing wrong but any suggestions would really, really be appreciated.
    Thanks a lot Garrett

  20. Posted September 7, 2007 at 10:47 am | Permalink

    Let me state a big “Thank you” I feel honored to be able to reuse such a great app during our ‘evaluation’ of air! The UI is in my point of view perfect! Let us try to create such apps for real use! Our sales reps for example would love such a thing!

    Thanks a lot
    Arno

  21. Abd
    Posted September 12, 2007 at 1:18 pm | Permalink

    Thanks for the wonderful app Christophe!

    Can this application be configured to use LiveCycle Data Services?

  22. Posted September 13, 2007 at 2:01 am | Permalink

    I love the app and the LocalSQL .db file streaming.
    The design is noticeably easy on the eyes, and a joy to navigate.
    i have one comment though:
    the synchronization fxns do not update the server files, only the local DB files are Updated. If i modify the serverdata.xml file, no changes would be detected and the local .db file remains the same. the “lastupdated” node is always 0 and that makes the application skip the if statement in the DAO files. How can i upload the changes in the .db file to the serverdata.xml?

  23. Posted September 13, 2007 at 2:23 am | Permalink

    I wrote :
    “the “lastupdated” node is always 0 and that makes the application skip the if statement in the DAO files. How can i upload the changes in the .db file to the serverdata.xml?”

    i meant the SyncManager.as not the DAO files.

  24. Garrett
    Posted September 13, 2007 at 3:23 am | Permalink

    Has anyone converted Salesbuilder to Flex yet? I’ve managed to get the Salebuilder for Air working now looking at migrating it so its a Web app. If anyone has can they let me know here or/and garrettatreynolds.yahoo.co.uk

    cheers

  25. Sheriff
    Posted September 13, 2007 at 10:23 am | Permalink

    ya i have, but i rewrote the entire thing, i dont know if i even have permission to post it, since technically it is not my idea

  26. Garrett
    Posted September 13, 2007 at 12:04 pm | Permalink

    Hi Sheriff – have you seen the question about licence and Christophe’s reply further up the page?

  27. Mrs. Weasley
    Posted September 15, 2007 at 1:09 pm | Permalink

    Sheriff,
    The source was posted “under the Open Source MIT license. So feel free to use it or modify it in your own applications,” according to Christophe. You ought to post source for your version just to show your appreciation for the work of those that came before you!

  28. Sheriff
    Posted September 15, 2007 at 6:57 pm | Permalink

    Here is the link
    http://code.google.com/p/salesbuilder/downloads/list

    its 85% done, i did it before school started and it took me a week. Lots of comments and stuff. I’ll finish it hopefully before end of the month. Everything is functional except sending stuff back to the Database and a little minor stuff.

  29. Garrett
    Posted September 17, 2007 at 4:21 pm | Permalink

    Sheriff – thank a lot for putting the code up – its a great piece of work – all the comments are really helpful

  30. Willy
    Posted October 1, 2007 at 12:54 pm | Permalink

    (on 1st october) When I try to launch Salesbuilder.air version 0.71 it says: This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version. So can you update it please ? Seems a great app by the way !

  31. Alex
    Posted November 21, 2007 at 4:45 am | Permalink

    Just getting into flex.
    Thanks for the code…an open source like that is better than any book, tutorial etc…

  32. Posted November 21, 2007 at 8:39 am | Permalink

    thanks for the GREAT post! Very useful…

  33. Bjorn
    Posted January 9, 2008 at 6:20 pm | Permalink

    Hi Christophe,

    Are you using a modified version of Myriad Web Pro.
    One where the glyphs position is actually lowered.
    If so do you have a modified version of Myriad Web Pro Condensed

    regards,

    Bjorn

  34. Flexxor
    Posted August 5, 2008 at 1:49 pm | Permalink

    Does anyone have advice/instructions for how to get the database operations hooked up in Flex Builder 3? I’ve messed around with the code for a while and the app finds the database but every time a sql statement is executed the app throws an error – if I try to reinitialize the database (home -> initialize database) I get error #3105: “Operation is only allowed if a connection has an open transaction” — PLEASE HELP!

  35. Posted August 22, 2008 at 6:28 am | Permalink

    thanks alot , now i can learn more flexin

  36. Posted August 22, 2008 at 6:28 am | Permalink

    ya i have, but i rewrote the entire thing, i dont know if i even have permission to post it, since technically it is not my idea

  37. Posted August 22, 2008 at 6:28 am | Permalink

    thanks for the GREAT post! Very useful…

  38. Posted August 22, 2008 at 6:29 am | Permalink

    thanks

  39. Posted November 20, 2008 at 9:21 pm | Permalink

    When I try to launch Salesbuilder.air version 0.71 it says: This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version. So can you update it please ? Seems a great app by the way !

  40. Posted February 23, 2009 at 4:13 pm | Permalink

    This is great Christophe – thanks a lot. I’m of a newbie to this so I have a question.

  41. Posted February 23, 2009 at 4:13 pm | Permalink
  42. Posted March 17, 2009 at 4:53 pm | Permalink

    now i can learn more flexin

  43. Posted January 10, 2010 at 3:28 am | Permalink

    thanx nice post good

  44. Posted June 10, 2010 at 12:45 am | Permalink

    This is great Christophe – thanks a lot. I’m of a newbie to this so I have a question.

  45. Posted August 8, 2010 at 9:23 am | Permalink

    Hi Thanks a lot!!!

  46. Posted August 21, 2010 at 1:31 am | Permalink

    Is it still work in progress or has the completed version been posted elsewhere? thank you

3 Trackbacks

  1. [...] Salesbuilder source code available [...]

  2. By betting card strategy 7 stud on February 8, 2008 at 11:57 am

    betting card strategy 7 stud…

    brink Sumter.fearsome …

  3. By » Blog Archive » SalesBuilder on February 11, 2008 at 3:23 pm

    [...] is the Exact same SalesBuilder that can be found in this link http://coenraets.org/blog/2007/08/salesbuilder-source-code-available/. The only difference is I wrote it to work in Flex instead of AIR and I commented alot in it to [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>