473,379 Members | 1,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

ICT Course work

I am currently trying to do my final piece of coursework for my ICT
A-level, Fo r the course work we have to make a web based database or
something releated. I have chosen to do a site whjere people can order
products. Our teacher has told us that we need to use Mysql and PHP. I
also want to use a login. I want the site to work like:

When the user isnt logged in they cant make any orders but when they
are the can then proceed further on the order page so they can get on
to a secure connection and place an order.

I really have no idea where to start with this and i dont really have
aby experience writing PHP. I would really appreciate it if someone
could tell me where to start and really give me any advise on this.

Any information will be gratefully recieved

Thanks
Jul 17 '05 #1
5 2281
Adrian wrote:
I am currently trying to do my final piece of coursework for my ICT
A-level, Fo r the course work we have to make a web based database or
something releated. I have chosen to do a site whjere people can order
products. Our teacher has told us that we need to use Mysql and PHP. I
also want to use a login. I want the site to work like:

When the user isnt logged in they cant make any orders but when they
are the can then proceed further on the order page so they can get on
to a secure connection and place an order.

I really have no idea where to start with this and i dont really have
aby experience writing PHP. I would really appreciate it if someone
could tell me where to start and really give me any advise on this.


We aren't here to do your homework for you.

I'm not being rude, that's the way it is. If you are struggling so much
then it's a poor reflection on the teaching you've had (or laziness on
your part).

What I suggest it to review the work you've done on your course. The
hints (usually blatant) should be there. If that's your project then the
course must have covered the principles.

Start working on an outline to the project:
1). logging in + security
2). display catalogue contents
3). shopping basket code
4). simple credit card details form
When you get stuck and have a specific question to ask then please come
back.
Jul 17 '05 #2
I noticed that Message-ID: <40**********************@news.easynet.co.uk>
from Kevin Thorpe contained the following:

<snip>

A little harsh Kevin. Since most of these projects are done using
Access, I think we can be a little more encouraging. I've seen projects
pass where that databases simply would not work.
Start working on an outline to the project:
1). logging in + security
2). display catalogue contents
3). shopping basket code
4). simple credit card details form
When you get stuck and have a specific question to ask then please come
back.


I'm an ICT teacher in the UK. I've not taught this project but from
what I remember from watching colleagues teach it the above would be
more complex than is required. The bulk of the marks are usually for
analysis and design and so it does not pay to get bogged down over
implementation.

Get a copy of the mark scheme. You teacher should be able to provide
you with a check list. Study it to see what you have to do to get
maximum marks and then produce the simplest project you can that will
achieve them.

You'll need a table for customers and one for products. You'll also
need one for orders. If one order can contain many products you will
need a link table as well. Consider the relationships carefully and the
rest will slot into place. Get it wrong and you are headed for trouble.
You need to be clear about what you mean by 'login' (html is a stateless
protocol). I suspect that for this, all you need do is check whether
the customer is existing or new. A shopping cart would be nice, but
it's quite a bit extra in terms of code and you may find it does not
gain any extra marks.

You will need to know how to code HTML, a little SQL and PHP. It may
help to do a couple of simple tutorials (there are plenty on the 'net)
and a PHP/MySQL tutorial. Try
http://hotwired.lycos.com/webmonkey/99/21/index2a.html (however, IIRC
this tutorial requires register_globals to be on).

Good luck!
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #3
Hey thanks for that link, is a very useful site and i actualy
understand whats on it!! Thank you!

I just want to say though im not lazy, and the teaching ive had hasnt
been that bad, i just think its a good idea to post messages to ask
people things because chances are if there looking at this group
"comp.lang.php" then there going to know a thing or to about what i
want to know .. and whats the worse that could happen.. someone might
.... disagree with you or say you shouldnt try to get them to do your
work well if i get a load of them and just one half useful post i
think it was worthwhile doing.

Anyway ...

We have been told to use dreamweaver to make our sites, and ive made a
couple PHP pages with some forms on collecting the infomation i think
i need... this is where im getting stuck now...

Do sites made in dreamweaver put information it collects into a table
that i can then import into access?
Jul 17 '05 #4
I noticed that Message-ID:
<c2**************************@posting.google.com > from Adrian contained
the following:
We have been told to use dreamweaver to make our sites,
Uh-oh. I assume the new version writes a lot of PHP for you does it?
and ive made a
couple PHP pages with some forms on collecting the infomation i think
i need... this is where im getting stuck now...

Do sites made in dreamweaver put information it collects into a table
that i can then import into access?


Eh?

I thought you were using MySql?

Look, this isn't magic, although if you use automated code generators
like Dreamweaver it might look like it.

You make a form. Each element in the form becomes a _POST variable
which is passed to the PHP script when you submit the form. The script
(however it is written) takes the variables and inserts them into a data
base using SQL. Assuming the database exists of course. And that you
have thought out the relationships.

By using automated code generators such as Dreamweaver it is extremely
unlikely that you will get to grips with the basic concepts. There is
no substitute fro getting your hands dirty and writing code!

I did think your teachers were being a bit optimistic. :-(

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #5
Geoff Berrow wrote:
I noticed that Message-ID: <40**********************@news.easynet.co.uk>
from Kevin Thorpe contained the following:

<snip>

A little harsh Kevin. Since most of these projects are done using
Access, I think we can be a little more encouraging. I've seen projects
pass where that databases simply would not work.


Ah, probably. I think I've been spending too much time lurking on the
perl groups. Sorry to sound too negative.
Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Az Tech | last post by:
Hi people, (Sorry for the somewhat long post). I request some of the people on this group who have good experience using object-orientation in the field, to please give some good ideas for...
5
by: el_roachmeister | last post by:
For being a good web programmer, is a course on data structures important? It seems php already has built-in functions for what they teach in a data structures course. On the other hand all...
5
by: DarkProgrammer | last post by:
Anyone know of a good, quick, and, dirty tutorial for using Visual C++ to create windows apps? I'm taking a C++ programming course and I want to turn in my next lab assignment as a windows app to...
2
by: Vinod Menon | last post by:
I downloaded the fast path to db2 course. I am unable to run it as it comes back with the error "There is no audio device available for Hotmedia audio player. This is a result of another media...
5
by: Gill Bates | last post by:
I suppose I need an OO-101 remedial course, or something. I would have expected, or hoped, that Console.WriteLine(Bee(d)) would have printed "Derived1"; not "Base1".. I'm sure this is an easy...
2
by: Chris Asaipillai | last post by:
Hi there Im starting a new course this Saturday. OBJECT ORIENTED DEVELOPMENT WITH VISUAL BASIC .NET and will cover the following concepts and principles. a.. Be able to build VB.NET...
1
by: Sebastian Spandauer | last post by:
Hey, i am searching for a php script that features sending a lets say 20 lesson online course. it should: subscription on website opt-in after subsriciption send one lesson per day to every...
1
by: blangela | last post by:
I am currently teaching 2 part-time (one evening per week) C++ courses using the Deitel & Deitel "C++ How To Program" text. Each course is 13 weeks in length, including time for labs and exams. ...
6
by: Bob Palank | last post by:
I'm considering using VJ# in a first programming course in addition to or in place of JBuilder and the J2SE. Given install problems other students have had, VJ# seems like a nice alternative. I...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.