project suggestions?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Nathaniel wrote:
Hockey wrote:You suggest a calculator?

Thats probably harder than that a trivial upload script, forum or cms... 8)
Nah. PHP has all of the "calculating" functions already. It would just be a matter of interpreting a string to run them. (It would require some work.)

Of course, eval() could do it easiest, after str_replacing square root symbols, etc with the appropriate function names. But that's kinda cheap.
Well if you use built in calculator functions (not sure what your refering too, but anyways) sure it would be easy...but so easy it's pointless if you use eval()

What I was getting at was implementing RPN (as most calculators do) would be a non-trivial task for a beginner... :)

What calculator functions are you talking about?

cos, sin, etc??? :)

Cheers
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

As in, PHP has the +, -, /, x "operators" (correct word?). As opposed to having to assemble it from complete scratch. Although I have no clue how that would work.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Why not start with something that is going to involve a little bit of everything from a development perpective? Try building a listing system of some type. One that grabs information from a database and displays it in alternating color tabular style. Maybe set it up so that you can have a user login system, and when a user is logged in they can see some editing features (like delete or edit a row of information). Then, use your new skills to figure out how to let the users manipulate those certain pieces of information without porking the entire system.

Another suggestion is a Frequently Asked Questions manager complete with user/admin interfaces. These are very popular and quite fun to learn on. Heck, you might even be able to sell it later on, if it decent enough. :wink:
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Nathaniel wrote:As in, PHP has the +, -, /, x "operators" (correct word?). As opposed to having to assemble it from complete scratch. Although I have no clue how that would work.
A CPU at it's lowest level has instructions which do just that (ADD, SUB, etc)...using logic gates AND, OR, XOR
User avatar
Moocat
Forum Contributor
Posts: 143
Joined: Wed Oct 12, 2005 9:28 am
Location: USA

Post by Moocat »

I find when you work with something you like it tends to go better.

My suggestion?

Build a "Kill monster" game.

Steps:

1) Player creates character (also account)
2) Player logs in
3) Player buys weapon/armor
4) Player can "search a dungeon" (fight a randomly generated monster)
5) Player can level up

That's it, and it can be done Model 1 very proceduraly if you want. That was my first PHP program, so I think it's doable.
Post Reply