nmartin82 Posted February 1, 2013 Share Posted February 1, 2013 Just a quick question I have been looking at working with the language and everyone I meet has what I would call like maybe a "resource set" or a set of generic files like connect.php, globals.php, etc that they use as a base to build off of and hold generic commands they use on every project. Are these made by then or is there a secret place they are hiding so I can find them? I ask because all the tutorials speak in the form of you building a global file for a small project one page design and that's backwards of what I need. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/273927-php-related-but-unsure-what-its-called/ Share on other sites More sharing options...
requinix Posted February 1, 2013 Share Posted February 1, 2013 Either they wrote the code themselves or they got it from someplace else. Most of the time individual files fall under the former. Quote Link to comment https://forums.phpfreaks.com/topic/273927-php-related-but-unsure-what-its-called/#findComment-1409589 Share on other sites More sharing options...
nmartin82 Posted February 1, 2013 Author Share Posted February 1, 2013 I appreciate the response. That being said can you suggest a layout or how the files should be broken down logically ie: globals (what it does), connect, print, etc I hate to create a massive file when I can logically break them down to make things easier. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/273927-php-related-but-unsure-what-its-called/#findComment-1409592 Share on other sites More sharing options...
trq Posted February 1, 2013 Share Posted February 1, 2013 You can break them down however you like. There really isn't any standard way of doing things until you start using actual frameworks. Quote Link to comment https://forums.phpfreaks.com/topic/273927-php-related-but-unsure-what-its-called/#findComment-1409598 Share on other sites More sharing options...
nmartin82 Posted February 1, 2013 Author Share Posted February 1, 2013 Ok ill start playing and see how everything comes together. Thanks again Quote Link to comment https://forums.phpfreaks.com/topic/273927-php-related-but-unsure-what-its-called/#findComment-1409599 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.