| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Paintball Freak
|
I have to build an E-Commerce web site for my one of my University projects and I want to know if there are any "best practices" for e-commerce web sites.. I'm quite sure that my professors will want to see an UML model but I'm not really sure what Design Pattern to apply if there's any ( honestly, I'd start building it right away without wasting time with patters ).
Anyway, I just want to know if there are any E-Commerce Web Site based design patters, something that really makes the app better, more open to change, abstracted and so on or there's no need to waste time with design pattern for something like this... Thanks guys. PS: I'll be building it in Flex 3 ( AS 3.0 ) + ASP.NET ( in C# ) + MS SQL.
__________________
FLASHFORUM.RO - You must speak Romanian in order to join. BLOG.WISEBISOFT.COM - Share and Experiment. |
|
|
|
|
|
#2 |
|
jordanrift.com
Join Date: Sep 2007
Location: Phoenix, AZ
Posts: 297
|
I'd probably go with MVC along with a few other supporting patterns (ie: singleton for database access and/or interfacing with paypal, maybe a factory or abstract factory for strongly encapsulating object creation, etc). I'd make your AS3 code essentially be the view, and pass validated user input strait to C#... but my C# is much stronger than my AS... so that might just be a preferrence thing.
![]() Enterprise-level e-commerce sites (the good ones anyway) generally have a multi-tiered architecture. |
|
|
|
|
|
|
|
|
#3 |
|
Chief Breaks-many-phones
Join Date: Jun 2007
Location: new york city
Posts: 527
|
Focus most of your time on security and server side.
You might as well consider Flash to be a skin in this case (cause that's basically what it is). People + Flash + e-Commerce tends to be a security catastrophe unless you know what you are doing. Simple things: Never ever put anything important in Flash. Don't send any important names from Flash. Clean every piece of transferred data going in both directions. Referrer is pointless, so don't waste time with it. Basically build a cart... then put Flash over top of it. |
|
|
|
|
|
#4 |
|
Paintball Freak
|
Thanks guys for the feedback, really appreciate it. I was thinking about going with an MCV model too so I think I'll be sticking to that. Matt, thanks for the advices I was taking all that into consideration althought some things are not really possible
Like the "don't send any important names from Flash"... Since there will be a login system up and running, I'll have Flash send data to PHP and vice-versa but I think that is still safe and ok ( not really sure if there are any ways to make this even more secure but if they are and you know of some then I'd really appreaciate if you link me to the article/doc ).Thanks again for the feedback. More feedbacks is welcome too.
__________________
FLASHFORUM.RO - You must speak Romanian in order to join. BLOG.WISEBISOFT.COM - Share and Experiment. |
|
|
|
|
|
#5 |
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,000
|
you need a good list of requirements first. Basically anything can be MVC, so that may or may not help any. I would think items can be group or represented seperately which makes me want to treat them as composites. But there is a lot to consider. What pattern....i dunno. what do you need?
__________________
I'm old enough to know better and young enough to do it anyway. -- maskedman |
|
|
|
|
|
#6 |
|
jordanrift.com
Join Date: Sep 2007
Location: Phoenix, AZ
Posts: 297
|
I was thinking composite as a possiblity for shopping cart items as well. I suggested MVC due to the multi-tiered nature of the project. Flash = View, PHP = Controller/Model, etc.
I agree though... a clear picture of the project requirements would be extremely helpful. |
|
|
|
|
|
#7 |
|
Paintball Freak
|
Since this is an University project, there aren't really any clear requirements. Uni professors aren't as smart as people might think they are... They left the whole weight on my shoulder, planning and everything... So, essentially I'm free to do whatever I want.
I have never built an eCommerce web site before ( although I know what it should have ) and since this is a University project, I want to make it as good as possible ( so that at least I learn something from this ). So, I too am open to any suggestions since I really don't know what kind of solutions, paths are out there for an eCommerce web site ( and which solutions are worth considering and which aren't ). I really appreciate your time guys. Thanks a lot.
__________________
FLASHFORUM.RO - You must speak Romanian in order to join. BLOG.WISEBISOFT.COM - Share and Experiment. Last edited by fx.barrett; 10-24-2008 at 08:28 AM.. |
|
|
|
|
|
#8 |
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,000
|
start making a list of your own requirements then and define what is a shopping cart and what are sellable products.
__________________
I'm old enough to know better and young enough to do it anyway. -- maskedman |
|
|
|
|
|
#9 |
|
Paintball Freak
|
I'd like to do something like the Adobe Flex store example: http://examples.adobe.com/flex2/inpr...flexstore.html
I think that example kinda sums everything up, the shopping cart, how it should work, login, search, a list of mobile telephones ( with description, and everything ), a compare button so that users can compare 2 or more products, and so on. Oviously, I'd have a login system where users can register and add new products, edit their products, delete products ( added by them ) and so on. I don't want the project to be very very complex, my main goal at the moment is to get a correct structure which is well encapsulated and open for change ( something I can get started with ).
__________________
FLASHFORUM.RO - You must speak Romanian in order to join. BLOG.WISEBISOFT.COM - Share and Experiment. |
|
|
|
|
|
#10 |
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,000
|
sounds like you have 2 separate systems: the shopping cart and the CMS. I'd treat them that way. The complexity you talk about will come from the features you choose to implement.
__________________
I'm old enough to know better and young enough to do it anyway. -- maskedman Last edited by Flash Gordon; 10-24-2008 at 05:57 PM.. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DVD of web site | Chukka john | Projectors and CDs | 0 | 05-18-2008 04:31 PM |
| Microsoft releases new Web browser beta | sho shinjo | General Chat | 34 | 03-25-2008 03:34 PM |
| My Web Design Site | Webeaz | Site Check | 16 | 03-02-2007 04:23 PM |
| Web Site Setup Help! | Stantz | Simple Stuff (Newbies) | 7 | 02-03-2007 05:53 PM |
| Problems with plugin build | paask | Other Flash General Questions | 1 | 02-04-2003 05:55 PM |