Jump to content
MakeWebGames

Base NWE


gmoore

Recommended Posts

Could you (if you have time). Define which tables you consider CORE (I mean necessary to run the site) and which modules you consider CORE (needed to run the site).

I was going to delete all the modules and tables until I got something running that does 'nothing'. Possibly have a subdirectory of 'Core' that mimicks the 'Module' directory but has code that must be included but could be updated separately from the main system.

Greg

Link to comment
Share on other sites

That's what I would consider the base or nearly, however some pieces could be modified like the home / welcome

[TABLE=width: 100%]

[TR]

[TD]Core tables:

users,

bad_trials

user_roles

roles

user_stats

user_stat_types

user_variables

variables

modules

object_types

object_types_attributes

objects

object_attributes

inventory

slots

slot_type_accepted

equiped

module_config_values

[/TD]

[TD]Core modules:

admin_edit_config

admin_edit_tables

admin_import_package

admin_module_manager

admin_panel

admin_side_panel

change_password

home

inside_menu

login

logout

public_menu

recover_password

register

security_token

stats

welcome

[/TD]

[/TR]

[/TABLE]

+ 1 template ;)

Link to comment
Share on other sites

NWE Minimal Version

I just finished an NWE minimal version. It took about 2 hours, which was mostly finding things I didn't know the location of. This is so you can reproduce the work if you need.

There were a couple things different from Alain's very helpful post above.

Step 1: Create new DB and copy over the following tables

 

That's what I would consider the base or nearly, however some pieces could be modified like the home / welcome

Core tables:

users,

bad_trials

user_roles

roles

user_stats

user_stat_types

user_variables

variables

modules

object_types

object_types_attributes

objects

object_attributes

inventory

slots

slot_type_accepted

equiped

module_config_values

Files not mentioned by Alain but needed:

1) Bugs (index.php requires this for writing bugs out)

2) module_manager_ignore (admin_panel requires this table)

 

Step 2: Create a new web directory copying over only the following modules to the modules directory:

 

Core modules:

admin_edit_config

admin_edit_tables

admin_import_package

admin_module_manager

admin_panel

admin_side_panel

change_password

home

inside_menu

login

logout

public_menu

recover_password

register

security_token

stats

welcome

Module not mentioned by Alain but needed:

1) level_handler.php (user_stats table was expecting the ExpPercent routine)

Step 3: Change your config file to match the new directory and db.

Step 4: Of course test

 

Some Notes:

- I did not want to make any coding changes so I added the level_handler only because it was called in a table.

- The only table changes I made where in module and module_config_values to remove modules not included.

- I didn't do EXTENSIVE testing but it looks like everything checks out. At least 1 clicked through everything.

The reason I did this was to be able to start with a baseline that would be free of 'extra' things so that I can decide on a case by case basis if I needed/wanted a module. My definition of minimal will be completely changing as I add some more modules I consider minimal (table editting for example). I wanted to write this before I get too involved changing from here.

It is my hope NWE becomes a minimal system in the future that we can opt into installing modules like we opt into upgrading modules. Seems easier to me but you decide for yourself.

Thank you for listening to my diatribe.

Greg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...