BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

On-line shop

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Students
View previous topic :: View next topic  
Author Message
Patrick
Guest





PostPosted: Tue Feb 13, 2007 7:38 pm    Post subject: On-line shop Reply with quote



I would like to learn how to make an on-line shop. I don't know any internet
languages, just plain Delphi (and dotNET).
Where should I start. Is there some usefull internet-site with examples?

I also would like to know how to use a on-line database.
- add items from within a web-site add dotNET program
- search within items
- filter items

I'm pretty sure this is just basic stuff, but don't know where to start.
Should I make a ASP.NET application?

Just in case I didn't explain well enough. I want to create/use/update an
on-line database from within a dotNET application as well as from within the
internet browser.

Thanks for any help.

Best regards,
Patrick
Back to top
Patrick
Guest





PostPosted: Tue Feb 13, 2007 7:40 pm    Post subject: Re: On-line shop Reply with quote



If using ASP.NET should I select the Cassini Web Server or IIS?
I think IIS is better, but how do I install it?

Thanks.
Back to top
Marc Rohloff [TeamB]
Guest





PostPosted: Wed Feb 14, 2007 9:12 am    Post subject: Re: On-line shop Reply with quote



On Tue, 13 Feb 2007 14:40:34 +0100, Patrick wrote:

Quote:
If using ASP.NET should I select the Cassini Web Server or IIS?
I think IIS is better, but how do I install it?

You need Windows XP Pro or Media Center or a Windows Server product.

Control Panel / Add Remove Programs / Add Windows Components

--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
Back to top
Robin
Guest





PostPosted: Mon Mar 12, 2007 7:56 am    Post subject: Re: On-line shop Reply with quote

Patrick wrote:
Quote:
Thanks for any help.

Best regards,
Patrick

Having just made one recently, the best advice I can give you is this:

Think about and get a clear definition of what you want first, /then/
start writing code.

I thought I had it figured out, but then the plan changed a few dozen
times as my wife changed her mind on what she wanted :-)

Once that is figured out, slap together some simple form layouts. This
will help you catch anything you missed in your above analasys.

Don't connect it to the DB or make it do anything yet, just get an
outline of what users should see and be able to do. Remember that not
only should they be able to select products, but they may need to select
different colours/sizes etc of the items.

Next build up your database tables and relations according to your
requirements.

After that you can make it work. Building the worker classes first and
then the real front end last would be beneficial IMHO, but is not always
easy. I have trouble holding myself back in this regard :-)

Robins handy tips to remember in web sites:

1) Think about what users should be able to see and what they should
not. For instance, the cart can be kept in the session (invisible)
because it is used by your web site not the user. However passing the
product ID in the URL is cool because then a link to a certain item can
be emailed, book marked etc.

2) ALWAYS use parameters in DB Queries. Otherwise you open yourself up
to SQL injection which can be disasterous.

3) CSS and UserControls (in asp.net) allow you to write code once, use
it everywhere. In design the saving can be minimal to good, but when
you are making changes after creation, you will kick yourself if you don't!

4) Delphi makes it really easy to slap together a quick-n-dirty app to
manage your database. Nothing pretty, just enough to enter test data.
Don't be afraid to take advantage of this in the short term and come
back later and write a real management tool.

Good luck!

--
Robin.

Australian Bridal Accessories := http://www.bridalbuzz.com.au
Turbo for Noobs (a work in progress) := http://turbofornoobs.blogspot.com/
Back to top
Patrick
Guest





PostPosted: Mon Mar 12, 2007 4:03 pm    Post subject: Re: On-line shop Reply with quote

Thanks for your suggestions!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Students All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.