PHPlearner32 Posted January 11, 2015 Share Posted January 11, 2015 (edited) Hey guys! im currently learning javascript, PHP and SQL. I have a pretty solid understanding of HTML and CSS. I want to make a site similar to facebook (a good facebook). this is going to be a big project and i plan on moving to a bigger server system in a year or so to keep up with demands. Heres how the site will function: 1. Basic registration/splash page. I understand that the finished form is sent to a php file on the server side, correct? (ill change my server name files of course) 2. after the registration page, while the user is logged in with their new account, there are 3 pages after that that explain what the website is all about and how to use it. the last page allows the user to setup their profile information, ask friends to join, and asks what type of things they like. After the last page, it sends the user to their main control panel, where social media feed can be seen, friends and online chats, news, advertisements, links, pages and groups (think facebook and linkedin) 3. the user will have the ability to look at their profile (not the control panel), and of course switch back to their control panel. social media, friends, groups and ads will also be on their individual profile page as well. 4. i want the site to have two views: a standard view and an enhanced view. the enhanced view will reposition divs and all that stuff so they can see a background image (either stock or one they uploaded) this image will eventually change to an animated image of a 3d environment. 5. the site is going to be heavily social media based. This means social media feeds, image uploading, a structured comment system, a friend system, search functions and targeted advertising. This is obviously a lot to ask, but since their is so much to learn related to PHP and SQL, can someone point me to the right tutorials on how to get these things done? I am currently learning javascript, PHP and SQL on lynda.com. Expect me to be on this forum a lot and asking a lot of questions. Thanks for any help. Edited January 11, 2015 by PHPlearner32 Quote Link to comment https://forums.phpfreaks.com/topic/293828-lots-of-questions-need-help/ Share on other sites More sharing options...
ginerjm Posted January 11, 2015 Share Posted January 11, 2015 If you are serious about this, I would go buy some books and manuals so that you get the best info at all times. Using the internet and the info you will find there can be problematic when you find poor info and data and try and utilize it. Sure - there is lots of good info out there but how will YOU recognize it? How much time are you willing to waste doing the wrong things? Perhaps your question should be to ask for recs on the best print media. Quote Link to comment https://forums.phpfreaks.com/topic/293828-lots-of-questions-need-help/#findComment-1502519 Share on other sites More sharing options...
NotionCommotion Posted January 11, 2015 Share Posted January 11, 2015 I don't have any formal training, but this is what I learned the hard way. Understand and document your user requirements. Do not go forward until this is complete. Come up with a final design for all your pages, or at a minimum, a design developed enough to all you to define all required functionality. Do not go forward until this is complete. Develop your database schema. Spend some time here, and get it right. Be sure it is normalized. For understanding general SQL queries, I like "Simple SQL" by Rudy Limeback. For the actual design, I like "Database Design" by Ryan Stephens and Ronald Plew. Definitely don't go forward until this is complete. Come up with a consistent MVC design pattern which will be used throughout the application. I recommend not using someone else's, but just make your own simple one. Utilize OOP. Use a single entry point into your site (index.php) where additional data is included in the URL or Post. Consider the use of Twig templates. Give thought to security. Don't go forward until you are happy with it. Come up with a list of methods in your controllers and models for all the page. Determine where they shared between individual pages. Document what arguments they are given or returned, and briefly what they should do. NOTE TO OTHERS: I've never done this step, but wish I had. Is this an important step? Is the process of doing so called anything so I could search for literature describing how it should be accomplished? Now, start your application. Be sure to religiously use PDO and prepared statements for user input. Use Git for source control! Ask questions. Have fun. Quote Link to comment https://forums.phpfreaks.com/topic/293828-lots-of-questions-need-help/#findComment-1502541 Share on other sites More sharing options...
QuickOldCar Posted January 11, 2015 Share Posted January 11, 2015 You want to look for tutorials for creating a CMS http://www.elated.com/articles/cms-in-an-afternoon-php-mysql/ http://biglancers.com/blog/tag/php-cms-tutorial-series/ https://phpacademy.org/videos/create-a-cms-with-php Familiarize yourself how it's done, take extra precautions on security I agree with what the two posters above said, I'm trying to give you more of a visual. With the three cms I've created it was much easier and better to me to use php as a template engine, a whitelist controller page to handle includes, custom login and register system, used ckeditor for article submissions. Learning a framework like laravel and use twig as the template engine can speed you along Here are a few laravel built cms others did, am sure can expand/modify them since are opensource, or examine how they went about doing it. http://maxoffsky.com/code-blog/list-cmss-built-laravel/ Quote Link to comment https://forums.phpfreaks.com/topic/293828-lots-of-questions-need-help/#findComment-1502555 Share on other sites More sharing options...
PHPlearner32 Posted January 12, 2015 Author Share Posted January 12, 2015 jeses...where do i start? i am thinking about ordering "learning PHP, MySQL, and javscript" by robin nixon and "PHP Solutions" by David Powers. Anyone have any take on these books? Quote Link to comment https://forums.phpfreaks.com/topic/293828-lots-of-questions-need-help/#findComment-1502602 Share on other sites More sharing options...
mac_gyver Posted January 12, 2015 Share Posted January 12, 2015 because this a 'how to get started' thread, rather than a thread with any actual php code in it, moving topic to the misc forum section... Quote Link to comment https://forums.phpfreaks.com/topic/293828-lots-of-questions-need-help/#findComment-1502664 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.