|
Any fun PHP learning project |
Archon
Member #4,195
January 2004
|
I'm thinking of testing out LAMP and seeing whether it suits my webcoding-fu and also to learn how to efficiently use Apache, MySQL and PHP (probably version 5, why go with any earlier?). But I don't know what I should try and make. Any ideas or constructive thoughts? |
HoHo
Member #4,534
April 2004
|
Write a browser-based MMORPG Failing that, you can write some simpler game. I personally love Blacknova and I used to play LOTGD. Whenever I try to learn something new I always try to write some game, it has been like that with Basic, Pascal, C/C++ and Java. PL/SQL is the only language I've used more than just writing a few hello-worlds that I've not (yet) used to write a game. __________ |
Marco Radaelli
Member #3,028
December 2002
|
As HoHo said, games. Another not-so-fun project could be a forum or a CMS
|
Archon
Member #4,195
January 2004
|
Is CMS, 'Content Management System', like a wiki? What could be the content? Forums need a purpose to get people to participate. Quote: Write a browser-based MMORPG Well that would be interesting but the only things that I could think of are like Race-Wars Kingdoms (I think that it's called) and Arenascape. |
Indeterminatus
Member #737
November 2000
|
A simpler thing to get started are multiplayer turn-based games. Take chess, for example. _______________________________ |
Archon
Member #4,195
January 2004
|
Quote: A simpler thing to get started are multiplayer turn-based games. Take chess, for example. Would people mind playing over long periods like that (having turns that last 5 ~ 10 minutes long or longer)? I'd kind of thought that something like chess on the web would be done using Java applets (like Jagex did). |
Indeterminatus
Member #737
November 2000
|
Yeah, sure, that's also a possibility. I was thinking about the really lasting games that'd take weeks (with probably one move per day). The chess thread that was here on a.cc would be a perfect application for something like that. _______________________________ |
Archon
Member #4,195
January 2004
|
Quote: Yeah, sure, that's also a possibility. I was thinking about the really lasting games that'd take weeks (with probably one move per day). The chess thread that was here on a.cc would be a perfect application for something like that. I guess that that could be a good idea, having multiple sessions and sign-ins. And other people can look at what the game is happening (plus a history of movements). Anything else? [edit] |
HoHo
Member #4,534
April 2004
|
Quote: I'd kind of thought that something like chess on the web would be done using Java applets (like Jagex did). Yes, it could but then you wouldn't learn anything about LAMP now would you __________ |
FMC
Member #4,431
March 2004
|
Quote: PHP should be able to easily generate the boards and chess pieces?... What was used in the thread? Yep, images where generated via a PHP script, check my sig [edit] r n b q k b n r p p p p p p p p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P P P P P P P P R N B Q K B N R You feed this to the link i have in my sig and the board is drawed [edit2]
[FMC Studios] - [Caries Field] - [Ctris] - [Pman] - [Chess for allegroites] |
CGamesPlay
Member #2,559
July 2002
|
By the way, since you are just learning PHP, you'll want to adopt the best practices. You should do all of your development in strict mode, by calling this before anything else in your files:error_reporting(E_STRICT); -- Ryan Patterson - <http://cgamesplay.com/> |
nonnus29
Member #2,606
August 2002
|
Quote: Is CMS, 'Content Management System', like a wiki? What could be the content? A cms is like what runs this site. Think of all the different parts: the depot, the forums, the picture of the day, the news, the member control panel, private message system, etc... Make a simple cms: a front page with news and an image of the day that the user can update by adding new news items or images. |
Thomas Fjellstrom
Member #476
June 2000
|
I have a suggestion, take a look at any popular PHP software, memorize exactly how they do anything and everything, and make sure never to do any of that, EVER. -- |
Onewing
Member #6,152
August 2005
|
I'm wanting to incorporate php in some different aspects of my wip website (sortable tables, a news poster mechanism, simple game?, etc.). It's all new to me, so it's all fun really. Here's an idea, if you are able to do cron jobs, have an AI entity move through a php world, where the periodic job just causes the next AI action to happen. From time to time, you can check to see what your entity is doing. It's like, "The Sims" php style. ------------ |
Johan Halmén
Member #1,550
September 2001
|
Here's an idea I give away for free: 1. Create a game where you chase something in a maze. On the walls you see commercial companies' front web pages. If with clickable links, the better. 2. Make the game thrilling and addictive. Sell walls to these companies as advertising space. 3. Profit. 4. Remember me. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Years of thorough research have revealed that what people find beautiful about the Mandelbrot set is not the set itself, but all the rest. |
nonnus29
Member #2,606
August 2002
|
Quote: 1. Create a game where you chase something in a maze. On the walls you see commercial companies' front web pages. If with clickable links, the better. 2. Make the game thrilling and addictive. Sell walls to these companies as advertising space. 3. Profit. 4. Remember me. That makes about as much sense as selling a pixel for a dollar, and selling a million of them ala the 'million dollar web page'. It has to work..... |
Archon
Member #4,195
January 2004
|
Quote:
1. Create a game where you chase something in a maze. On the walls you see commercial companies' front web pages. If with clickable links, the better. That reminds me of an online Dark Reign 2 or Syndicate game that I thought of-thought of making (as in, just dreamed about), where there are billboards in high and noticable places and companies could pay to have a simple GIF playing on the billboards in the game. |
JonZ
Member #2,383
May 2002
|
I'd try and make a social networking site Hear me out before you reply in a rage of fury . It will be good programming experience for the newcomer to PHP (it would help a lot if you are already well-versed in another language though). You'll get experience in creating proper DB schemas (think foreign keys, stored procedures, etc.). You'll also get experience in using JOINS and other fun-filled SQL related activities On the data model side you will get to do input-validation before saving to the DB. Incorporate AJAX along with the site for super-experience Another great idea that was mentioned was to create a CMS. I'd suggest that you try to use the MVC model for any website. |
Archon
Member #4,195
January 2004
|
Quote: I'd suggest that you try to use the MVC model for any website. Yes! I try to do that in my applications programming too. |
Johan Halmén
Member #1,550
September 2001
|
My vague idea was in the first place that the user, while playing, actually visited the real pages of companies, but on these pages some animated character would move around. I have no idea of how that would work. Is it possible to have some kind of layers in a browser, where one web page is shown on one layer and all links work? And on another layer some graphics would show, on top of the web pages. These graphics could have their own links, which could affect the bottom layer. This would probably need a special browser. And a PHP thing on a server. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Years of thorough research have revealed that what people find beautiful about the Mandelbrot set is not the set itself, but all the rest. |
|