Welcome, Guest. Please Login or Register.
Nov 15th, 2018, 5:16pm

erSOFT's Bulletin Board
er?SOFT HomeerSOFT Home Forum Index Forum Index Help Help Search Search Members Members Login Login Register Register
erSOFT Messageboard erRAND


   erSOFT Messageboard
   Community
   erSOFT Development
(Moderators: Rojahon, ejona, moomoo)
   erRAND
« No topic | Next topic »
Pages: 1  Reply Reply Send Topic Send Topic Print Print
   Author  Topic: erRAND  (Read 18622 times)
Rojahon
er?SOFT Administrator
*****





    Rojahon
View Profile WWW Email

Gender: male
Posts: 291
erRAND
« on: Dec 28th, 2004, 4:15am »
Quote Quote Modify Modify

Okay here's kind of my idea of how this thing is going to work.
 
The main page (currently "errand.php") displays the configurations for each module, which are all the admin side variables.  For files that don't need a configuration file, like filemanager, errand will display "no configuration available".
 
Then each module will have a "index.php" file, which will be admin side.  Here an admin would edit or create blog posts, for example.  
 
Each module will also have a display or output file.  This file can be called in an html file to display the module client side.  For a blog mod this file would look at the config(posts per page, etc.) and display the posts accordingly.
 
 
 
Just trying to get things straight.  Tell me if you want to do it a different way.
IP Logged

Jester Entertainment Studios
Rojahon
er?SOFT Administrator
*****





    Rojahon
View Profile WWW Email

Gender: male
Posts: 291
Re: erRAND
« Reply #1 on: Dec 28th, 2004, 5:18am »
Quote Quote Modify Modify

okay making some progress.  I have revamped my fm code to the best of my knowledge so it works as a module.  Only one prob, I'm having issues with headers.  My task_redirect file needs to modify the headers, but somewhere in the errand.php they have already been defined.  Without task redirect you have to type in all the urls manually.
IP Logged

Jester Entertainment Studios
ejona
er?SOFT Administrator
*****



Gentoo Rules!

225956514 225956514   ejona86   ejona86
View Profile WWW Email

Gender: male
Posts: 261
erRAND Update
« Reply #2 on: Mar 2nd, 2005, 3:56am »
Quote Quote Modify Modify

Current status of errand:
  • I have a general outline made that is VERY customizable for unplanned features.
  • I have it set up so that it will NOT rely on the XML database.
  • Still need to implement many things including authorization.

 
Interaction in modules is as follows:
  • Modules use object oriented database wrappers (exactly like DOM's) that can use MySQL functions (not written: Robert - would you do that once I am ready?) without the module caring.  This will cause written MySQL functions to provide tree support to allow for the xml data structure.
  • Modules can be copied to a new folder and do not require any install.  The main difficuilty with this is the naming of functions, you can't redefine functions and such.  What I did is have modules create functions with the function_create command and save that to a $modules variable.
  • At every junction, the programmer should have the option to use a wrapper or call a function or other module directly.

 
As far as an admin would go:
  • There is a global template that EVERY module uses providing unified look.
  • Modules should have all text external to code for easy modification.

 
Big things that still neet to be thought about:
  • Creation of a syntax for defining (x)html code to be used for modules and functions that can be easily defined in the template.  It needs to support loops and such... There is the stupid way to do this with $blah_before; $blah_inbetween; $blah_after; $blah_etc but this is exactly what I DON'T want.  I still need to think of this and figure out a good happy medium between geared for the admin and geared for the programmer.
« Last Edit: Mar 2nd, 2005, 6:33am by ejona » IP Logged

-Linux is for networking. Mac is for working. Windows is for solitaire.
-Never argue with an idiot, they will bring you down to their level and then beat you with experience.
Pages: 1  Reply Reply Send Topic Send Topic Print Print

« No topic | Next topic »

erSOFT Messageboard » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB 2000-2003. All Rights Reserved.