Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Smarty with an Object Orientated Website
Goto page Previous  1, 2, 3, 4, 5  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Frameworks
View previous topic :: View next topic  
Author Message
pkej
Smarty n00b


Joined: 19 Oct 2003
Posts: 4

PostPosted: Sun Oct 19, 2003 2:35 am    Post subject: Factoring out the hierarchy Reply with quote

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
View user's profile Send private message
pkej
Smarty n00b


Joined: 19 Oct 2003
Posts: 4

PostPosted: Sat Oct 25, 2003 3:44 pm    Post subject: The Ars Digita CMS system (ACS ArsDigita Community System) Reply with quote

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
View user's profile Send private message
paule
Smarty n00b


Joined: 26 Aug 2003
Posts: 4
Location: Germany/Koblenz

PostPosted: Sat Oct 25, 2003 4:14 pm    Post subject: Re: Its starting to work! :) Reply with quote

risto wrote:
Its starting to work! :)
have a look http://vif.ath.cx/objecttype.php
and here http://vif.ath.cx/object.php
I'm hoping this forum will be more active!! :)


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
View user's profile Send private message Visit poster's website
paule
Smarty n00b


Joined: 26 Aug 2003
Posts: 4
Location: Germany/Koblenz

PostPosted: Fri Jan 16, 2004 1:09 pm    Post subject: Re: DeZign for Databases Reply with quote

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
View user's profile Send private message Visit poster's website
mocean
Smarty Rookie


Joined: 21 May 2003
Posts: 30
Location: The Netherlands

PostPosted: Wed Apr 14, 2004 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Wed Apr 14, 2004 9:02 am    Post subject: Reply with quote

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 Smile

Cheers!
Back to top
View user's profile Send private message
mocean
Smarty Rookie


Joined: 21 May 2003
Posts: 30
Location: The Netherlands

PostPosted: Fri Apr 16, 2004 6:53 pm    Post subject: Demo! Reply with quote

The demo CSM: http://habiforum.mocean.nl/cms/
And the site: http://habiforum.mocean.nl/

This is not finished at all! And I had to cut some of the functionality, because otherwise anonymous user would be able to execute PHP or SQL...
_________________
Visit My Smarty Enabled Website (Dutch Only) at www.habiforum.nl
and read how it works.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
electr0`n
Guest





PostPosted: Sat Apr 17, 2004 12:47 pm    Post subject: Reply with quote

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

PostPosted: Mon Apr 19, 2004 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
johannes
Smarty Regular


Joined: 10 May 2003
Posts: 85
Location: Malmö, Sweden

PostPosted: Tue Apr 20, 2004 6:52 am    Post subject: nice Reply with quote

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 Smile
_________________
--------------------------
nice culture on the Internet
www.poeter.se
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mocean
Smarty Rookie


Joined: 21 May 2003
Posts: 30
Location: The Netherlands

PostPosted: Tue Apr 20, 2004 6:58 am    Post subject: Re: nice Reply with quote

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 Smile


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
View user's profile Send private message Visit poster's website MSN Messenger
johannes
Smarty Regular


Joined: 10 May 2003
Posts: 85
Location: Malmö, Sweden

PostPosted: Tue Apr 20, 2004 7:11 am    Post subject: Reply with quote

most nice Smile

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 Smile
_________________
--------------------------
nice culture on the Internet
www.poeter.se
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mocean
Smarty Rookie


Joined: 21 May 2003
Posts: 30
Location: The Netherlands

PostPosted: Tue Apr 20, 2004 7:27 am    Post subject: Reply with quote

johannes wrote:
most nice Smile

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 Smile

Maybe Smile
_________________
Visit My Smarty Enabled Website (Dutch Only) at www.habiforum.nl
and read how it works.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
electr0`n
Guest





PostPosted: Sat May 08, 2004 4:24 pm    Post subject: Reply with quote

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

PostPosted: Thu Jul 22, 2004 1:50 am    Post subject: Smarty OO Framework Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Frameworks All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP