Dysan Posted April 22, 2008 Share Posted April 22, 2008 Hi, What's the best way to code a web application? - Using Classes? Cheers Link to comment https://forums.phpfreaks.com/topic/102414-web-application/ Share on other sites More sharing options...
Northern Flame Posted April 22, 2008 Share Posted April 22, 2008 depends on the application, what are you planning on building? Link to comment https://forums.phpfreaks.com/topic/102414-web-application/#findComment-524447 Share on other sites More sharing options...
Dysan Posted April 22, 2008 Author Share Posted April 22, 2008 I can't really say, as it will take forever to explain But in brief, it will feature a login/registration/members profile pages Link to comment https://forums.phpfreaks.com/topic/102414-web-application/#findComment-524452 Share on other sites More sharing options...
Northern Flame Posted April 22, 2008 Share Posted April 22, 2008 well as far as using classes (or OOP) its not really something thats "better" or "worse" but just a different style of coding. some people feel more comfortable coding using OOP and others don't. It's really up to you. Link to comment https://forums.phpfreaks.com/topic/102414-web-application/#findComment-524456 Share on other sites More sharing options...
monkeypaw201 Posted April 22, 2008 Share Posted April 22, 2008 ... a CMS? Link to comment https://forums.phpfreaks.com/topic/102414-web-application/#findComment-524457 Share on other sites More sharing options...
Dysan Posted April 22, 2008 Author Share Posted April 22, 2008 What's a CMS? So if you don't use Classes, what would you use? Is classes the most efficient way of coding? Cheers for your help? Link to comment https://forums.phpfreaks.com/topic/102414-web-application/#findComment-524461 Share on other sites More sharing options...
monkeypaw201 Posted April 22, 2008 Share Posted April 22, 2008 a CMS is a content management system (ie Joomla, Exponent, Mambo, etc..) Link to comment https://forums.phpfreaks.com/topic/102414-web-application/#findComment-524465 Share on other sites More sharing options...
Northern Flame Posted April 22, 2008 Share Posted April 22, 2008 So if you don't use Classes, what would you use? Is classes the most efficient way of coding? then you would just use the regular method of coding. if you're going to have A LOT of code in one script then I would recommend using classes because it will help you organize your code and easily re-call functions that were established previously. as for efficiency, its pretty much the same thing, I mean I can code the exact same thing without classes that could with classes. but if its going to be a big file, i prefer classes to help me better organize my code Link to comment https://forums.phpfreaks.com/topic/102414-web-application/#findComment-524473 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.