TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-10-2009, 07:08 PM   #1 (permalink)
The Contributor
 
Sirupsen's Avatar
 
Join Date: May 2009
Posts: 53
Thanks: 2
Sirupsen is on a distinguished road
Default I am.. confused

So confused, so very confused. Unbelievingly confused. I'm yet to start an application I got an idea for, it's rather big. But, what I'm so very confused about is:

Which framework should I use?
Should I do my own framework? (I don't even know how I should do that)
Is rails the way to go if I'm even thinking about Frameworks?
Should I even use a framework?

... I have no idea where I should start. Just hardcoding it all is of course the easy solution, but not the best of course - that's why I'm so confused, I have no idea how I'm gonna start it. I need some help deciding. Also, I am sure doing this mostly to learn.

The project is this.

Last edited by Sirupsen : 06-10-2009 at 07:45 PM.
Send a message via AIM to Sirupsen Send a message via MSN to Sirupsen Send a message via Yahoo to Sirupsen Send a message via Skype™ to Sirupsen
Sirupsen is offline  
Reply With Quote
Old 06-10-2009, 07:44 PM   #2 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

I can't comment on framework since I don't use any.

For starting, do not just start coding off the bat. A project of that size will take careful planning unless you want it to be a jumbles mess. Go to each application and start thinking of how you are going to make it. Make each individual one separately, but remember that they will be integrated. When they are done start integrating them together. If there are portions that will be needed in many apps, code those as you go (as soon as you need it, code it).

Here is a question for you: Do you think you can maintain motivation throughout this project? A common problem with people who take projects this large on is that they loose motivation and dump it after about a month (sometimes two).
__________________

Village Idiot is offline  
Reply With Quote
Old 06-10-2009, 08:10 PM   #3 (permalink)
The Contributor
 
Sirupsen's Avatar
 
Join Date: May 2009
Posts: 53
Thanks: 2
Sirupsen is on a distinguished road
Default

I think I can keep motivation, as long as I know that the way I'm programming is not useless, and can be upgraded later etc. and I see everything going neatly forward.

Which is indeed why I want to know how I should code this. As I don't have the experience to know this myself, unfortunately.
Send a message via AIM to Sirupsen Send a message via MSN to Sirupsen Send a message via Yahoo to Sirupsen Send a message via Skype™ to Sirupsen
Sirupsen is offline  
Reply With Quote
Old 06-10-2009, 09:57 PM   #4 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

You should code it however you feel comfortable right now. If you're happy enough coding everything from scratch then do so! If you've never used a PHP (or other language) framework then do you want to spend the time learning the ins and outs of that framework (or in worst case, many frameworks if one doesn't suit you very well) before getting down to work with your applications? Probably not.

Frameworks, by their very nature, speed up development time by providing building blocks. If you have never played with these blocks, don't expect to be building a house (or in this case, a small village!) right away; you'll only end up wondering why your house isn't weatherproof come winter (due to some particular quirk of the framework you choose)!

If you are dead set on using a framework, there are some which are easier to get moving quickly with which you might prefer. Things like CakePHP are targeted towards PHP users of "all levels" (to quote the Cake homepage), for instance. But to be honest, that would be more initial work for you without building anything useful for your applications and, in my view, would skip an essential learning process of doing everything yourself—learning how to keep things separated, to refactor your code out into your own libraries/framework, etc..
Salathe is offline  
Reply With Quote
Old 06-11-2009, 08:52 AM   #5 (permalink)
The Wanderer
 
Join Date: Nov 2007
Location: Mumbai, India
Posts: 24
Thanks: 0
sunilbhatia79 is on a distinguished road
Default

Hi,

I think you should break down your project into smaller parts and release it after a part is complete.

This will take care of your motivational problem for a long project.

Being a long project, I advice you to rope in a friend. You can motivate eachother for the rest of the project lifecycle.

Besides, here is a link that I found interesting on Motivation and Goals.

Art of Motivation

Achieve Goals

Hope this helps.

Regards,
Suniil
__________________
Sunil Bhatia www.twitter.com/sunilbhatia79 - Follow me on Twitter
PHP5 Tutorials
Career Articles
sunilbhatia79 is offline  
Reply With Quote
Old 06-11-2009, 01:40 PM   #6 (permalink)
The Contributor
 
Sirupsen's Avatar
 
Join Date: May 2009
Posts: 53
Thanks: 2
Sirupsen is on a distinguished road
Default

The big problem is not the motivation actually, but more how I should start the coding and how I should do that, thanks for the interesting articles though.

I actually like that you guys think that I should not use a framework, but do it from scratch because it will learn me a lot more, and I do agree! :) What I though wanna know before I begin would be, should I code some kind of MVC framework to work after?

And also, how should I manage clean urls? Clean urls was actually what really got me into those frameworks, was very easy with those. :)
Send a message via AIM to Sirupsen Send a message via MSN to Sirupsen Send a message via Yahoo to Sirupsen Send a message via Skype™ to Sirupsen
Sirupsen is offline  
Reply With Quote
Old 06-11-2009, 01:47 PM   #7 (permalink)
The Wanderer
 
Join Date: Nov 2007
Location: Mumbai, India
Posts: 24
Thanks: 0
sunilbhatia79 is on a distinguished road
Default

Building your own MVC framework will really help - as you will have to think a lot before you write your code. Since you know what you want to build - you will be in a position to work on MVC features that you need for the project.

Once your project expands - you will also know how to tweak it for performance and additional features.

I dont understand the meaning of clean URLs. If you are referring to SEO URLs - then its done through .htaccess. I have made extensive use of it on my site www.careercurry.com. Let me know if you need any help with regards to .htaccess

Regards,
Suniil
__________________
Sunil Bhatia www.twitter.com/sunilbhatia79 - Follow me on Twitter
PHP5 Tutorials
Career Articles
sunilbhatia79 is offline  
Reply With Quote
Old 06-11-2009, 01:56 PM   #8 (permalink)
The Contributor
 
Sirupsen's Avatar
 
Join Date: May 2009
Posts: 53
Thanks: 2
Sirupsen is on a distinguished road
Default

Mmh, I think that's my plan then. Find out how to make a rather simple MVC framework, which I can expand later on, as my experience grows. Anyone got something to add? :) I'd love more input!
Send a message via AIM to Sirupsen Send a message via MSN to Sirupsen Send a message via Yahoo to Sirupsen Send a message via Skype™ to Sirupsen
Sirupsen is offline  
Reply With Quote
Old 06-15-2009, 07:31 AM   #9 (permalink)
The Contributor
 
Join Date: Jun 2009
Location: Seattle, WA
Posts: 76
Thanks: 1
rguy84 is on a distinguished road
Default

Are you planning to look at products already out there? I mean for like the blogging platform will be a bit of work, but going through WordPress' code may help
__________________
Ryan | Blog | Twitter
Send a message via AIM to rguy84 Send a message via MSN to rguy84 Send a message via Yahoo to rguy84 Send a message via Skype™ to rguy84
rguy84 is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
What confused you the most about PHP? TlcAndres The Lounge 13 03-25-2008 07:38 PM
SQL Query?? Tanax Absolute Beginners 11 11-21-2007 06:45 PM
Confused within forms Haris Absolute Beginners 5 09-14-2007 07:44 PM


All times are GMT. The time now is 06:12 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design