Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SteveyAppleSeed

macrumors member
Original poster
Mar 4, 2010
45
0
I am trying to come up with some mini projects as suggestions to my professor. I am pushing her to teach the (L/M)AMP stack and would like to hear about some basic, easy projects that would teach a student how to utilize this stack.

Any ideas?

Yes, I did a search on the internet but couldn't find anything that resembled a classroom "exercise."

Hope that makes sense.
 

Cromulent

macrumors 604
Oct 2, 2006
6,802
1,096
The Land of Hope and Glory
I am trying to come up with some mini projects as suggestions to my professor. I am pushing her to teach the (L/M)AMP stack and would like to hear about some basic, easy projects that would teach a student how to utilize this stack.

Any ideas?

Yes, I did a search on the internet but couldn't find anything that resembled a classroom "exercise."

Hope that makes sense.

Why teach a specific stack when teaching the general principals of HTML + Javascript + PHP + SQL database theory will help no matter what software you use on any platform for the rest of existence (or at least until something better comes along than PHP, HTTP Servers and relational databases).

Even better would be to not teach PHP at all and stick to something like Python or Java for web development.

As for a classroom exercise how about an airline flight booking application? I It doesn't have to be complex, just complex enough to give a practical element to what is taught in class.
 

Cabbit

macrumors 68020
Jan 30, 2006
2,128
1
Scotland
Even better would be to not teach PHP at all and stick to something like Python or Java for web development.

Teach programming not a language. In the long run it does not matter what language you decide to get proficient at, a class should teach the basics of all of them then get the students to write a website in two different languages(One for Admin and one for the front end).

Teaching one language only encourages students to be narrow minded about there projects and to think that the language they were taught is the be all and end all.

A good classroom project would be a Ecommerce site. It gives enough flexibility for students to add extra bells and whistles without becoming too complex and time consuming.
 

Cromulent

macrumors 604
Oct 2, 2006
6,802
1,096
The Land of Hope and Glory
Teaching one language only encourages students to be narrow minded about there projects and to think that the language they were taught is the be all and end all.

Or it teaches them that the methodologies associated with a particular language are the right way to go. Thus one should make every effort to avoid PHP in an academic setting.

The author of PHP himself has come out stating it was written as a hodgepodge of functions to solve a problem. It certainly was not written to demonstrate good practice, or indeed any practice at all.

Use it once you know how to program not when you are learning, but I would imagine that once you have used other languages that you would wish to avoid PHP anyway. PHP is pretty much the new BASIC.
 

robvas

macrumors 68040
Mar 29, 2009
3,240
629
USA
A good project would be a web-based message forum. Kind of like a mini-phpBB or VBulletin.

You can get a simple version running in a couple days if you go straight at it, or a few weeks in a classroom setting. You'll learn about database design, sanitize input fields, searching/sorting/displaying data...

The students can also extend it, adding things such as PM's, different search functions, accepting image uploads, etc etc. I have a very basic one that I wrote when I first played around with PHP that I could post up.

208fmmf.gif


An example of viewing a thread.
 

Cabbit

macrumors 68020
Jan 30, 2006
2,128
1
Scotland
Or it teaches them that the methodologies associated with a particular language are the right way to go. Thus one should make every effort to avoid PHP in an academic setting.

The author of PHP himself has come out stating it was written as a hodgepodge of functions to solve a problem. It certainly was not written to demonstrate good practice, or indeed any practice at all.

Use it once you know how to program not when you are learning, but I would imagine that once you have used other languages that you would wish to avoid PHP anyway. PHP is pretty much the new BASIC.

It would be best to avoid teaching PHP that is indeed true(Well at least the way it is taught in university with not even a look in on objects and not even basic class design.). Though the alternative is often worse by far as I have seen Coldfusion being taught.

Though it still comes down to my original statement, programming should be taught not the language. I believe something like Pascal would teach good programming practices.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.