Author Topic: Digital Text CMS  (Read 49908 times)

0 Members and 4 Guests are viewing this topic.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Digital Text CMS
« on: December 04, 2005, 05:03:08 am »
AdvancedContent has moved on and given way to Digital Text CMS.
AdvancedContent was based on the theory of providing the user with basic things (downloads, forum, etc.) as opposed to doing what I wanted it to do...manage content.

Digital Text will have this ability. You will be able to add pages (static HTML for the most part) and moduels (dynamic stuff).

AdvancedContent used it's own template engine which wasn't too shabby but it was a bit restrictive and made things over complicated.
Digital Text uses Smarty (smarty.php.net) an awesome template engine which makes templating easy and FLEXIBLE for the user. (Instead of me organizing the output of say an array of news entries, the user can himself using built in things to loop through arrays passed to the template)-- this results in a GREAT increase in flexibility to the designer and less hassle to the programmer.

The big advantage I think this will have is it's compact size. Since none of the things in AdvancedContent (forums, downloads, news, pm) are implemented into the core the CMS keeps a small size which allows it to be easily adapted to any purpose.

A live demo (live meaning being worked on) is availible at: www.advancedcontent.net/demo (As of now it is not very interactive just some output)
« Last Edit: January 10, 2006, 07:04:50 am by Warrior[x86] »
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Digital Text CMS (Continued from AC discussion)
« Reply #1 on: December 04, 2005, 05:05:27 am »
Digital Text uses Smarty (smarty.php.net) an awesome template engine which makes templating easy and FLEXIBLE for the user.

Copier.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #2 on: December 04, 2005, 05:07:21 am »
Ersan told me about this a while back. Actually smarty is pretty easy to use on all servers, you just plop it in a dir (/lib) and instantiate the class Smarty (include Smarty.class.php)

One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #3 on: December 04, 2005, 05:09:00 am »
Hmm got a lot of planning to do with how things will interact with each other, going to sleep on it.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Digital Text CMS (Continued from AC discussion)
« Reply #4 on: December 04, 2005, 05:10:48 am »
Ersan told me about this a while back. Actually smarty is pretty easy to use on all servers, you just plop it in a dir (/lib) and instantiate the class Smarty (include Smarty.class.php)

I'm using it, noob.  :P

That entire CMS (www.sidoh.org/test/scms) uses Smarty.  I've extended the smarty engine slightly to fit the way I want my CMS to work.  It's not very significant, but it saves time and keystrokes.

By the way, it's better to just 'plop' a /smarty directory somewhere within your CMS.  Installing it otherwise would be too much of a hassle.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #5 on: December 04, 2005, 05:14:17 am »
Ersan told me about this a while back. Actually smarty is pretty easy to use on all servers, you just plop it in a dir (/lib) and instantiate the class Smarty (include Smarty.class.php)

I'm using it, noob.  :P

That entire CMS (www.sidoh.org/test/scms) uses Smarty.  I've extended the smarty engine slightly to fit the way I want my CMS to work.  It's not very significant, but it saves time and keystrokes.

By the way, it's better to just 'plop' a /smarty directory somewhere within your CMS.  Installing it otherwise would be too much of a hassle.

Haha same here, I wrote a class which extends smarty and implemented an abstraction layer of sorts because I am a control freak. Like yours not very vital significant changes (maybe automating a few things here+there, nothing big)

Well yea by "plop" I meant in a dir within your CMS, oops.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Digital Text CMS (Continued from AC discussion)
« Reply #6 on: December 04, 2005, 05:17:09 am »
Haha same here, I wrote a class which extends smarty and implemented an abstraction layer of sorts because I am a control freak. Like yours not very vital significant changes (maybe automating a few things here+there, nothing big)

Well yea by "plop" I meant in a dir within your CMS, oops.

I wasn't aware that /lib was a common DocumentRoot.  :P

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #7 on: December 04, 2005, 12:18:03 pm »
I use it anyway.

/demo/lib/smarty
/demo/templates
/demo/templates_c
/demo/cache
/includes

Everything with the CMS no special installation no hassle :)
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Digital Text CMS (Continued from AC discussion)
« Reply #8 on: December 04, 2005, 01:22:38 pm »
I use it anyway.

/demo/lib/smarty
/demo/templates
/demo/templates_c
/demo/cache
/includes

Everything with the CMS no special installation no hassle :)

Haha.  I installed it in /<DocumentRoot>/test/scms/classes/smarty.  Also, why wouldn't you set up /demo/configs given your naming pattern?

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #9 on: December 04, 2005, 01:45:10 pm »
I havn't used them, I plan to use them though for multi language support possibly.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Digital Text CMS (Continued from AC discussion)
« Reply #10 on: December 04, 2005, 01:57:50 pm »
I havn't used them, I plan to use them though for multi language support possibly.

Hehe, that's a great use of them.

Smarty's really nice, but it's hard to know when to use PHP for your core instead of using Smarty for templates.  It's difficult to seperate layout from core like that in some respects.  I think I was talking to iago about this a while ago.  He said he thought the whole idea of templates was so you could keep the graphic designers away from your code, but Smarty actually encourages them to interact with the code.  I suppose that's a positive and negative thing, really.

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #11 on: December 04, 2005, 03:27:36 pm »
I suggest you create a "features" section of your site containing links to code, and build in the "obtain feature list" function that gives the ACP a list of available features, with links to click to install said features. That way people can install the basic core, and customize it later (IE: Adding PM with the click of one link, etc.)
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #12 on: December 04, 2005, 03:41:14 pm »
I don't know I plan to take a simplistic approach at this. I read anything in the /mod folder and mark it as a possible module.
A module to be loaded must communicate with the core and identify itself. I guess I can perhaps mark them as "Loaded" or "Non Loaded" to get the effect of starting and stopping it. Maybe.

I'm still cleaning up some things in the core and writing my authentication class to do stuff with templates.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Digital Text CMS (Continued from AC discussion)
« Reply #13 on: December 04, 2005, 04:01:41 pm »
I suggest you create a "features" section of your site containing links to code, and build in the "obtain feature list" function that gives the ACP a list of available features, with links to click to install said features. That way people can install the basic core, and customize it later (IE: Adding PM with the click of one link, etc.)

Taking this sort of approach for this kind of project wouldn't work all that well, assuming he's using the templating method I'm imagining.  It would be hard to implement a plugin-like interface if everything is going to be templated.  You'd have to develop templates for all of your plugins.  :\

I don't know I plan to take a simplistic approach at this. I read anything in the /mod folder and mark it as a possible module.
A module to be loaded must communicate with the core and identify itself. I guess I can perhaps mark them as "Loaded" or "Non Loaded" to get the effect of starting and stopping it. Maybe.

I'm still cleaning up some things in the core and writing my authentication class to do stuff with templates.

Hehe, I'm thinking about doing something like that for the CMS I'm starting to write now too.  We'll see... Like I've already mentioned, making everything templated using this structure's going to be a challenge.

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: Digital Text CMS (Continued from AC discussion)
« Reply #14 on: December 04, 2005, 04:26:22 pm »
Why don't you two just team up?  You're doing very similiar things...
And like a fool I believed myself, and thought I was somebody else...