Closed Thread Icon

Topic awaiting preservation: Need strategy to code News website the RIGHT WAY - in PHP Pages that link to <a href="https://ozoneasylum.com/backlink?for=30822" title="Pages that link to Topic awaiting preservation: Need strategy to code News website the RIGHT WAY - in PHP" rel="nofollow" >Topic awaiting preservation: Need strategy to code News website the RIGHT WAY - in PHP\

 
Author Thread
paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

posted posted 02-07-2009 21:38

Hi guys, I'm working on a new project but need some advice on how to practically get it done right. I'm building a simple news website. As like all news websites this would have a news section the news section would have categories of news and news items added accordingly. And then there would be an opinions section and different authors with their opinions. And then a simple classifieds section.

The thing is that I want to build this so its scaleable and modular based and I was wondering of using the singleton model to have just one index page ponit of entry into the website. However setting the module system is a bit confusing as to how do I get this all done. i want it to be such that I should be able to create new modules from time to time in such a way that integration shouldnt involve anything more than just copypasting a folder. I know theres Drupal and Mambo but I think theyre kinda overkill for what I need to build. I could use all the advice on how to start on thsi project the proper way as I've already had enough of haphazard coding for my bosses application.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 02-08-2009 08:11

you know, your 'right away' routine does get tiresome.

Singleton has to do with objects, not pages, and I don't even see what you're trying to modularize here.
Ideally, you'd learn a web framework and stick with it. Typo3 is nice, if very large, and you've
mentioned a couple of the others.

Otherwise, having a central table with the items that also shows which plugin is being used would be the way to go.

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

posted posted 02-08-2009 16:27

Well I'm trying to build something like the www.bbc.co.uk news website albeit to a much smaller degree - something like www.gulfnews.com - only a bit scaled down.

Just wanted to know what would be a better way to do so maybe I have a knack for overcomplicating things though. Just a quick question - when you said singleton is for objects and not pages - how would that translate to raw code btw?

Modules in the sense that - well I'm like to be able to divide lets say the news section into a module, then have a section for videos, image galleries, have an advertisement management system, build little of those widget boxes that show stuff like - related posts, most commented news items etc etc... I can code all this raw now and then - just need a correct approach to this so I don't end up making things more complicated than they should be.

twItch^
Maniac (V) Mad Scientist

From: Denver, CO, USA
Insane since: Aug 2000

posted posted 02-10-2009 17:30

You realize that what you're describing is a WordPress blog, right?

-S

Arthurio
Paranoid (IV) Inmate

From: cell 3736
Insane since: Jul 2003

posted posted 02-10-2009 18:00

I agree with twItch^ ... whatever extra you need you can develop as a plugin or whatnot...

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

posted posted 02-11-2009 06:42

Uh well in a way though - but its gonna be you know kinda specific for a news website. Hmmmmm maybe I'm overthinking this here a bit?

NoJive
Maniac (V) Inmate

From: The Land of one Headlight on.
Insane since: May 2001

posted posted 02-11-2009 07:34
quote:

paritycheck said:

Hmmmmm maybe I'm overthinking this here a bit?


Maybe. Head over to WP and take a look at some of the news type sites. I too agree with the others ^ .

And tho's this isn't a WP site here's one of the better crowd powered news sites.
http://www.nowpublic.com/

___________________________________________________________________________
?Privatize the Profits - Socialize the Losses.? Randi Rhodes

« BackwardsOnwards »

Show Forum Drop Down Menu