Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > The Coffee Lounge
Reload this Page Where do i start off if i want to start a website that can sell things.
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Coffee Lounge General chat about anything that goes, a good place to introduce yourself and say hi, tell a Joke, or just relax.

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-22-2008   #1 (permalink)
Just Joined!
 
Join Date: Sep 2007
Posts: 34
Where do i start off if i want to start a website that can sell things.

Might sund a little too ambitious but i am trying to plan to build a small website in about 50-60 odd days that can sell pens and pencils around my town. I would like to know if someone could help in telling me where to start.
I am using opensuse 10.3 and am running out of space and so planning to clean my hardisk and start fresh. What all will i need to install.

I am reading XML and PHP (starting to). Also wondering if groovy on grails framework is a good framework to start building my website on. If so what should i start learning.?

Then servers and databses.. I know apchee is the best. but whenwill it be an absolute necessity for me to work on it? After the design is over or even before i start developing?
br_prashant is offline   Reply With Quote
Old 07-22-2008   #2 (permalink)
Linux Enthusiast
 
elija's Avatar
 
Join Date: Jul 2004
Location: Linux wants your brainz
Posts: 602
Unless you want to code your own as a learning exercise (and it will be) I would have a look for open source products. There will be plenty out there. One example is oscommerce, which being easy to get up and running is a complete mare to change.

If you want to do it yourself, then I would recommend looking into PHP 5, MySQL 5 and Apache 2.2. You will also need to understand web security and the various attacks that can hit a web site so that you can code to prevent them.

It is not only the site that can be attacked so you will also need to understand how to secure the underlying operating system, the web server and the database server.

As you can probably tell, building an ecommerce site from scratch is not a small project. If you still want to go for it, think about the basics first of all. Code to web standards and so that it works by outputting unstyled html. Style last.

Install apache and PHP and MySQL straight away and get used to them. Even as one man project I would recommend using subversion to manage your version control, that way when (yes when) you really screw up you can just revert back to a previous version rather than trying to remember what the hell you did to get into the mess you have got into.... I have experience of this It is unpleasant to say the least!


Good luck with the project.
__________________
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
(How much wood would a woodchuck chuck if a woodchuck could chuck wood)

Registered Linux User: #459086

PM is not a good way to get help. Please ask in the forums.
elija is offline   Reply With Quote
Old 07-22-2008   #3 (permalink)
Just Joined!
 
Join Date: Sep 2007
Posts: 34
Thanks elija.

I do want to do it myself.

There is another thing i would like to ask. How much memory would these three take up for running? Specially Apache and MySQL?

Also would you like to reffer some book that might be of use. Not as a look and code book but to understand the underlying theories.
br_prashant is offline   Reply With Quote
Old 07-22-2008   #4 (permalink)
Trusted Penguin
 
smolloy's Avatar
 
Join Date: Apr 2005
Location: CA, but from N.Ireland
Posts: 2,218
Apache and MySQL are very light on memory when running if no one is currently accessing your site, but the real unknown variable is how much traffic you expect.

If you're very successful, then you will need a system that can handle a larger load.
__________________
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
smolloy is offline   Reply With Quote
Old 07-23-2008   #5 (permalink)
Linux Enthusiast
 
elija's Avatar
 
Join Date: Jul 2004
Location: Linux wants your brainz
Posts: 602
Agreed, but with MySQL, the momory you have the better as you can tweak many different caches which will dramatically improve performance. Obviously, you will notice that more on a busy site

As to a book, I don't actually know. I've learnt this though having a go, reading articles in magazines and online. When it comes to this subject Google is really your friend.

For development, try and break the project down into smaller chunks based on functional areas, some that spring to mind are catalogue, basket, checkout and content pages.

I may have put a slightly misleading thing in my previous post. When I talked about designing last, I meant visual design. The way I would approach this is as follows.

1. Produce high level spec of system (you have done that)
2. Identify functional areas
3. Design sytem workflow between functional areas - again high level
4. Spend some time getting a basic view of each functional area

By now you know where you think you are going. Don't worry, as the project progresses this will change. It always does

5. Pick a functional area and produce a detailed design of the system.
6. Code and test.

It is possible to break down each area further. Test early and test often. It is better to change two lines of code and test than to change two hundred lines of code and then test. At the very least only change one function at a time.

When I talk about design above I am not talking about visual design which should be left to the end, plan for it though by including the CSS classes in your output.

Hope this helps

[edit]
Some things to Google:
Cross site scripting
SQL Injection
Securing my website from attacks

(Remember: don't have nightmares )
[/edit]
__________________
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
(How much wood would a woodchuck chuck if a woodchuck could chuck wood)

Registered Linux User: #459086

PM is not a good way to get help. Please ask in the forums.

Last edited by elija; 07-23-2008 at 08:44 AM. Reason: Added some things to Google
elija is offline   Reply With Quote
Old 07-23-2008   #6 (permalink)
Just Joined!
 
Join Date: Sep 2007
Posts: 34
hmmm... i am starting the entire design building process from my laptop with a AMD X2 processor witha 2Gb ram.

I feel it must be decent enough for the starting but i seem to be a littel confused..

Once i get the apache server to run along with MySQL and keep all the required PHP files how do i test?

Any ideas to test from different architectures?
br_prashant is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 12:48 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0