I was very surprised at the similarity with C++ :thumbup: Thats a plus, since I dont need to really start from scratch at learning it. Well I recently been given the job as a Web Master for my highschool Robotics Club, I think I can make a very customizable site for the future generations of web masters using the site. I was hoping to make a solid foundation thats easily customized, kinda like a game engine, just a web engine. Im planning on using PHP + SQL and probably some flash to make it look more professional. Im getting my PHP book in a couple days in the mail and Im kinda laying out the pseudo code right now.
-New blog/news entries can directly be entered into the site without changing code
-So make it read a file that has teh News date and ect and the text and displays it
-Log in system checks the account type to allow certain permissions and shows only certain things. (Developers cant mess with webmaster stuff, and other people can only see news and ect)
-Was also thinking of linking a sourceforge account to the site for the developers only (I dont really trust that the developer has even enough C/C++ knowledge to even pull off the job... :sleep:He only got the job because of seniority and experience in the club, Im a first year in the club, was surprised I was even given the webmaster job)
-Registration only for a few select, AKA only club members(I email them a special code, and if the code matches, allow registration)
-Changing permissions without directly going into the SQL database, changed from admin menu of the site
Im pretty sure I can pull this off, just might take a while, until its complete, I think I will just use hard code every news and stuff
Just Starting With PHP
Started by davidthefat, Dec 19 2009 11:11 AM
5 replies to this topic
#1
Posted 19 December 2009 - 11:11 AM
|
|
|
#2
Posted 21 December 2009 - 11:47 AM
is it something you have some problems with?
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 21 December 2009 - 07:19 PM
davidthefat said:
I was very surprised at the similarity with C++ :thumbup: Thats a plus, since I dont need to really start from scratch at learning it. Well I recently been given the job as a Web Master for my highschool Robotics Club, I think I can make a very customizable site for the future generations of web masters using the site. I was hoping to make a solid foundation thats easily customized, kinda like a game engine, just a web engine. Im planning on using PHP + SQL and probably some flash to make it look more professional. Im getting my PHP book in a couple days in the mail and Im kinda laying out the pseudo code right now.
-New blog/news entries can directly be entered into the site without changing code
-So make it read a file that has teh News date and ect and the text and displays it
-Log in system checks the account type to allow certain permissions and shows only certain things. (Developers cant mess with webmaster stuff, and other people can only see news and ect)
-Was also thinking of linking a sourceforge account to the site for the developers only (I dont really trust that the developer has even enough C/C++ knowledge to even pull off the job... :sleep:He only got the job because of seniority and experience in the club, Im a first year in the club, was surprised I was even given the webmaster job)
-Registration only for a few select, AKA only club members(I email them a special code, and if the code matches, allow registration)
-Changing permissions without directly going into the SQL database, changed from admin menu of the site
Im pretty sure I can pull this off, just might take a while, until its complete, I think I will just use hard code every news and stuff
-New blog/news entries can directly be entered into the site without changing code
-So make it read a file that has teh News date and ect and the text and displays it
-Log in system checks the account type to allow certain permissions and shows only certain things. (Developers cant mess with webmaster stuff, and other people can only see news and ect)
-Was also thinking of linking a sourceforge account to the site for the developers only (I dont really trust that the developer has even enough C/C++ knowledge to even pull off the job... :sleep:He only got the job because of seniority and experience in the club, Im a first year in the club, was surprised I was even given the webmaster job)
-Registration only for a few select, AKA only club members(I email them a special code, and if the code matches, allow registration)
-Changing permissions without directly going into the SQL database, changed from admin menu of the site
Im pretty sure I can pull this off, just might take a while, until its complete, I think I will just use hard code every news and stuff
As a suggestion all of this can be easily accomplished with wordpress, joomla, etc., with little to no modifications. Why reinvent the wheel, I guess..
#4
Posted 23 December 2009 - 09:57 PM
omaa said:
As a suggestion all of this can be easily accomplished with wordpress, joomla, etc., with little to no modifications. Why reinvent the wheel, I guess..
Its not fun using another person's wheel is it? I just like challenges
#5
Posted 26 December 2009 - 03:13 AM
davidthefat said:
Its not fun using another person's wheel is it? I just like challenges
Challenges are great for personal projects or just for the fun of it, but when put in charge of a project by someone it is best to use a well tested, secure, and well documented existing solution then rolling your own.
If you want to take a stab at making a content management system or blog then that's great, I have personally done both a number of times just for the fun of it or as speed trials to see how fast I could code a working solution for something.
#6
Posted 28 December 2009 - 08:17 AM
Hey,
If you already have C++ experience, you might as well jump straight into it, the syntax is the same and that's the only hard part of PHP. Also, if you're going to be doing a login system, blog system and so forth, I strongly recommend you first learn SQL, it's pretty simple and it's important if you're going to be doing SQL query's, (SELECT * FROM Accounts WHERE UserID = '$uid'). Once you're similar with SQL, learn PHP variables. Once you've done that read a brief tutorial about fetching/inserting data into a database in PHP, you'll be using functions like mysql_fetch_array();. Then read how HTML and PHP work together (using $_POST & $_GET from a form, don't worry, it sounds haunting, but it's really really simple).
You're whole system is just going to be form+function+query, and that's what really makes PHP easy, you always have a function do to what you want.
I also recommend using notepad++ as your IDE, though I'm sure you already have it :P.
That's about it, good luck in the future.
Regards,
GMan.
If you already have C++ experience, you might as well jump straight into it, the syntax is the same and that's the only hard part of PHP. Also, if you're going to be doing a login system, blog system and so forth, I strongly recommend you first learn SQL, it's pretty simple and it's important if you're going to be doing SQL query's, (SELECT * FROM Accounts WHERE UserID = '$uid'). Once you're similar with SQL, learn PHP variables. Once you've done that read a brief tutorial about fetching/inserting data into a database in PHP, you'll be using functions like mysql_fetch_array();. Then read how HTML and PHP work together (using $_POST & $_GET from a form, don't worry, it sounds haunting, but it's really really simple).
You're whole system is just going to be form+function+query, and that's what really makes PHP easy, you always have a function do to what you want.
I also recommend using notepad++ as your IDE, though I'm sure you already have it :P.
That's about it, good luck in the future.
Regards,
GMan.


Sign In
Create Account


Back to top









