View previous topic :: View next topic |
Author |
Message |
pkej Smarty n00b
Joined: 19 Oct 2003 Posts: 4
|
Posted: Sun Oct 19, 2003 2:35 am Post subject: Factoring out the hierarchy |
|
|
I personally feel that one should make headroom for different hierarchies by creating hierarchy objects. Then one would assign instances of objects to instances of hierarchies. Sometimes you need a plain list, sometimes a tree, sometimes a graph, etc.
With the headroom to add new hierarchy types (and traversal code) it will be a breeze to accomodate new requirements. Of course one wouldn't be able to create the new hierarchy objects without supporting code for traversal; as opposed to the objects themselves which really are what is called structs in C (since they don't have any methods per se).
When it comes to using objects like you've suggested, I think it is a great idea; combine it with the permissions and we're going somewhere. Actually where I wanted to be in 1998 but I'm not very fond of coding (really, though all my jobs have been software development related).
Paul |
|
Back to top |
|
pkej Smarty n00b
Joined: 19 Oct 2003 Posts: 4
|
Posted: Sat Oct 25, 2003 3:44 pm Post subject: The Ars Digita CMS system (ACS ArsDigita Community System) |
|
|
There once was (is would be more correct) a man who wrote a book (full text here) about web publishing. A very good book, read it sometime, it is from the previous millennium, but relevant.
He worked for a company called Ars Digita they were developing version 3 or 4 of their portal and had some great documentation on line; which to my knowledge isn't available anymore (though I have a printout, halleluja). Eh, I found something while searching the web. It isn't what I have a printout of, but there are some interesting stuff there.
They were working on a system which were object oriented and used databases as it's object store.
It is too bad that the company had some dificulties and went the Java road, thus ditching the work on 3 or 4 which was cool (tcl/tk).
ACS ended up at RedHat. And there is the OpenACS
Just for your information. |
|
Back to top |
|
paule Smarty n00b
Joined: 26 Aug 2003 Posts: 4 Location: Germany/Koblenz
|
Posted: Sat Oct 25, 2003 4:14 pm Post subject: Re: Its starting to work! :) |
|
|
it seems the posted urls are down. maybe there are other mirrors?
i'd like to have a look to your very interesting stuff. |
|
Back to top |
|
paule Smarty n00b
Joined: 26 Aug 2003 Posts: 4 Location: Germany/Koblenz
|
Posted: Fri Jan 16, 2004 1:09 pm Post subject: Re: DeZign for Databases |
|
|
risto wrote: | have anyone tries "DeZign for Databases" It looks very nice. Im trying is now. have a look here http://www.datanamic.com/dezign/index.html
It cums ip with sugestion on creating tables and relations!! |
Today I found another very nice DB-design tool. It's called
DBDesigner4, GNU-GPL licenced and it looks very functional.
Have a look at http://fabforce.net/dbdesigner4/
BTW: there are source- & binary-downloads for winnt, win2k and linux (!) |
|
Back to top |
|
mocean Smarty Rookie
Joined: 21 May 2003 Posts: 30 Location: The Netherlands
|
Posted: Wed Apr 14, 2004 8:45 am Post subject: |
|
|
Hey people! maybe I'll be back with a Demo of the CMS soon... After a few months, I'm working on it again. _________________ Visit My Smarty Enabled Website (Dutch Only) at www.habiforum.nl
and read how it works. |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Wed Apr 14, 2004 9:02 am Post subject: |
|
|
mocean wrote: | Hey people! maybe I'll be back with a Demo of the CMS soon... After a few months, I'm working on it again. |
Good to hear that. I've recently had a renewed interest in this topic, so your timing couldn't be better
Cheers! |
|
Back to top |
|
mocean Smarty Rookie
Joined: 21 May 2003 Posts: 30 Location: The Netherlands
|
|
Back to top |
|
electr0`n Guest
|
Posted: Sat Apr 17, 2004 12:47 pm Post subject: |
|
|
atm I don't get it, but I hope it'll be better. If you click at the objects there are some errors. good luck. |
|
Back to top |
|
mocean Smarty Rookie
Joined: 21 May 2003 Posts: 30 Location: The Netherlands
|
Posted: Mon Apr 19, 2004 4:58 pm Post subject: |
|
|
electr0`n wrote: | atm I don't get it, but I hope it'll be better. If you click at the objects there are some errors. good luck. |
It seems the system jams, when you add double content properties! There is no check (yet), if a property is allowed to be set more then once _________________ Visit My Smarty Enabled Website (Dutch Only) at www.habiforum.nl
and read how it works. |
|
Back to top |
|
johannes Smarty Regular
Joined: 10 May 2003 Posts: 85 Location: Malmö, Sweden
|
Posted: Tue Apr 20, 2004 6:52 am Post subject: nice |
|
|
Hi, just been testing of your demo, find it simpel and powerfull.
Question: is possible to cut in a call for a smarty plugin, into the 'content' field? if not, that would be nice.
Why? Then it would be possible to put almost all of functionallity into plugins, and call the plugin needed. for exampel to get news or a navigation.
I use this approach in some project, but my framwork is nothing comparing to this _________________ --------------------------
nice culture on the Internet
www.poeter.se |
|
Back to top |
|
mocean Smarty Rookie
Joined: 21 May 2003 Posts: 30 Location: The Netherlands
|
Posted: Tue Apr 20, 2004 6:58 am Post subject: Re: nice |
|
|
johannes wrote: | Hi, just been testing of your demo, find it simpel and powerfull.
Question: is possible to cut in a call for a smarty plugin, into the 'content' field? if not, that would be nice.
Why? Then it would be possible to put almost all of functionallity into plugins, and call the plugin needed. for exampel to get news or a navigation.
I use this approach in some project, but my framwork is nothing comparing to this |
I have this in the template for the Page object:
{if $Content neq ""}
{eval var=$Content}
{else}
[no content ]
{/if}
So you can put plugins in them, whenever a page is more complacated then suitable for Smarty.
I alreadye have plugins for searching, menus, SQL but they ar not safe on a test-site. maybe I'll show some of them later. _________________ Visit My Smarty Enabled Website (Dutch Only) at www.habiforum.nl
and read how it works. |
|
Back to top |
|
johannes Smarty Regular
Joined: 10 May 2003 Posts: 85 Location: Malmö, Sweden
|
Posted: Tue Apr 20, 2004 7:11 am Post subject: |
|
|
most nice
Then the next question must be how you handle templates. I geuss that it is possible to choose different tpl to different pages, but how?
Will you relese this work, so code-hungry people like me can dig into it _________________ --------------------------
nice culture on the Internet
www.poeter.se |
|
Back to top |
|
mocean Smarty Rookie
Joined: 21 May 2003 Posts: 30 Location: The Netherlands
|
Posted: Tue Apr 20, 2004 7:27 am Post subject: |
|
|
johannes wrote: | most nice
Then the next question must be how you handle templates. I geuss that it is possible to choose different tpl to different pages, but how?
|
Ìn fact, each object has its own template (you may edit it when choosing Advanced, Object Types, and edit the page object). I choose to use one template for each objecttype.
johannes wrote: |
Will you relese this work, so code-hungry people like me can dig into it |
Maybe _________________ Visit My Smarty Enabled Website (Dutch Only) at www.habiforum.nl
and read how it works. |
|
Back to top |
|
electr0`n Guest
|
Posted: Sat May 08, 2004 4:24 pm Post subject: |
|
|
I've got another question, how big are your property tables? I could imagine if there're to much properties in the tables the page will slow down. |
|
Back to top |
|
Archytas Smarty Rookie
Joined: 07 Jul 2004 Posts: 15 Location: The Netherlands
|
Posted: Thu Jul 22, 2004 1:50 am Post subject: Smarty OO Framework |
|
|
I implemented this OO system quite far. It can serve the objects that are available in the database.
But now my designer wants to include some objects in her design, how should she reference this? She can't simply include the template (of for example a poll) into the template of a page.
Any idea how my designer would describe in a template to include objects.
(default_page.tpl object contains menu.tpl object and article.tpl object) |
|
Back to top |
|
|