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 10-06-2009, 02:47 AM   #1 (permalink)
The Acquainted
 
Dave's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 97
Dave is on a distinguished road
Default A totally non-OOP PHP CMS?

Lots of new CMS' out there. Most that I've looked at were OOP-based. Does anyone know of a CMS for PHP that is completely free of OOP?

Just curious,

Thanks!
Dave is offline  
Reply With Quote
Old 10-06-2009, 02:57 AM   #2 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

No, any decent developer involved in CMS development would immediately see the benefits of treating data as an object with special properties/methods per type of data.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 10-06-2009, 08:41 AM   #3 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
Jim is on a distinguished road
Default

I made one about 4 years ago :+
__________________
Nunchaku! Who doesn't like martial arts? =)
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote
Old 10-06-2009, 12:05 PM   #4 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Why on earth would you want a Non-OOP CMS?!
__________________
Tanax is offline  
Reply With Quote
Old 10-06-2009, 02:20 PM   #5 (permalink)
The Acquainted
 
Dave's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 97
Dave is on a distinguished road
Default

Thanks for your replies.

As a learner, I'm a l-o-n-g way from OOP concepts. I knew it was a long shot, but...you never know.

Dave
Dave is offline  
Reply With Quote
Old 10-06-2009, 02:33 PM   #6 (permalink)
The Contributor
 
ioan1k's Avatar
 
Join Date: Mar 2009
Location: US
Posts: 76
Thanks: 0
ioan1k is on a distinguished road
Default

Wordpress?
__________________
My Portfolio - Work - Need freelance Work?
I've been developing 5 years now, and I learn something new everyday
ioan1k is offline  
Reply With Quote
The Following User Says Thank You to ioan1k For This Useful Post:
Dave (10-06-2009)
Old 10-06-2009, 02:39 PM   #7 (permalink)
The Acquainted
 
Dave's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 97
Dave is on a distinguished road
Default

Enfernikus, your "my blog" link appears to be broken...?
Dave is offline  
Reply With Quote
Old 10-06-2009, 03:09 PM   #8 (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

If you don't understand OOP, a CMS is not a practical option for you to learn from.
__________________

Village Idiot is offline  
Reply With Quote
The Following User Says Thank You to Village Idiot For This Useful Post:
Dave (10-06-2009)
Old 10-06-2009, 03:55 PM   #9 (permalink)
The Acquainted
 
Dave's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 97
Dave is on a distinguished road
Default

Thanks, VI. I see what you mean, but I disagree to some extent. Obviously, I wouldn't learn much from OOP-based code, but I think it is good to think in terms of M-V-C principles as soon as is practical, and MVC is not an OOP-only concept.

Dave
Dave is offline  
Reply With Quote
Old 10-06-2009, 05:43 PM   #10 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Basically, and I'm generalizing a ton here, OOP scripts use classes. So in order to have a script that is not OOP, then it would have to have no classes.

It would be nearly impossible to create a large, well structured, program without the organization that classes offer.

OOP isn't that hard, and there are some good tutorials on it around here somewhere...

PHP Code:
class message
{
    public 
$msg;

    public function 
display()
    {
        echo 
$this->msg;
    }

    public function 
set($text)
    {
        
$this->msg $text;
    }
}

$message = new message();
$message->set('Hello, World!');
$message->display(); 
The above outputs:

Code:
Hello, World!
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
The Following User Says Thank You to ETbyrne For This Useful Post:
Dave (10-06-2009)
Old 10-06-2009, 06:55 PM   #11 (permalink)
The Acquainted
 
Dave's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 97
Dave is on a distinguished road
Default

Thanks, ETbyrne --

Yes, you're exactly right. I was just trolling for a VERY light-weight CMS that was "functionally programmed." Interestingly, I noticed that some of the smaller OOP CMS' are well below 50K in size.

But on the second part, OOP (for some of us) is a really challenging subject. My wife is an accomplished artist. Sometimes when she is drawing, I ask her, "How do you DO that?" She smiles and says, "It's easy."

Yeah, right.

Dave
Dave is offline  
Reply With Quote
Old 10-06-2009, 07:37 PM   #12 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

It is true that OOP can be challenging to get used to at first, but once you get the hang of it you can never go back! It's just kind of an "aha" moment when you finally get it.

I'll dig around and see if I can find any good tutorials...
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
The Following User Says Thank You to ETbyrne For This Useful Post:
Dave (10-06-2009)
Old 10-06-2009, 07:51 PM   #13 (permalink)
The Acquainted
 
Dave's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 97
Dave is on a distinguished road
Default

ETbyrne,

Thanks again! However, I have 5 or 6 really good tuts on OOP saved on my computer right now. My eyes glaze over when I start in on them because I'm simply not "concept-ready" yet.

I've just gotten used to the "foreach...as...=>..." loop. For me, that is a difficult proposition.

It is going to be a couple of years, at least. Just sayin'.

Dave
Dave is offline  
Reply With Quote
Old 10-06-2009, 11:19 PM   #14 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Ah I see. I just assumed you were more advanced, but you are still learning the core concepts. My bad.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne 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
Can't get PHP 5. to work? Newbie windows PHP guy DotNetTim Absolute Beginners 11 02-01-2013 11:02 AM
10 PHP Myths Dispelled Wildhoney General 9 06-15-2009 06:55 AM
email fill in form help? PHP sacred_tinker Absolute Beginners 19 05-28-2008 05:58 AM
PHP Compressor Kalle Script Giveaway 8 05-28-2008 12:14 AM
what are all the subjects in php? sarmenhb General 7 01-21-2008 05:41 PM


All times are GMT. The time now is 05:27 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