UPB's move to Modular

4 views
Skip to first unread message

Rebles

unread,
May 4, 2008, 5:29:53 AM5/4/08
to MyUPB Developers Forum
Hi guys,

Sorry for the three deep and game changing ideas. They have just been
stewing in my head for a while, and I feel like I've thought about
them enough to introduce them. This is the last one I promise.

About six or eight months ago, I remember Tim and I discussing making
the jump to a modular UPB, which would make UPB more modder friendly,
by making pages classes, and mods would _extend_ the original pages.
I still don't understand that part Tim, lol. What I liked about this
idea was that users would have one point of entry: index.php (only
index.php and possibly config.php in the main UPB directory), and the
page would be indicated by a GET variable (The pages would be stored
in a directory like ./includes/pages/ and be included based on the
$_GET['page'] or some other arbitrary variable), increasing security
and standardizing pages.

So Tim and I (mostly Tim, lol), started to convert UPB to this new
system (see the svn's /upb2_codeclean for our attempt), but we
realized we weren't ready to make that leap yet. We were
simultaneously developing v2.1, and trying to manage our scope on such
a huge project. We had already discussed what we wanted in v2.2,
v2.3, v2.4, and if I recall correctly, modularity fell in the last
version.

So that's the backround behind bringing modulars to UPB. I think v2.4
is such a long way. In fact, v2.4 is too far away! What if we eased
modularity in UPB slowly? We can easily include many of the files
through a $_GET variable attached onto the end of the query string on
index.php. From there, we can convert the forum one page at a time
into a class by managing it in the index.php. Taking these small
steps will make the job easier for us, and make the conversion seem
like a less daunting task.

--Rebles

Clark

unread,
May 4, 2008, 4:51:32 PM5/4/08
to myupb-de...@googlegroups.com
Howdy,

Have you thought about using the smarty template system???

I don't know much about it, but I've got a DVD database script which I
downloaded which uses it and it would allow for easy localisation of other
languages.

Clark

Jerroyd Moore

unread,
May 5, 2008, 3:31:59 PM5/5/08
to myupb-de...@googlegroups.com
Hi Clark,

I know you and I already talked about the smarty system already. Hey
Tim, what do you think?

--Jerroyd Moore

Reply all
Reply to author
Forward
0 new messages