What would i have to do/edit to run the modx with just the basics?
I want the lowest KB footprint i can get, i don’t care about how the menus look or what not
I just want it to be really small.
Thanks,
Paul
(P.S if this is answered somewhere or this is in the wrong section i apologize and you can move it or point me in the right direction)
-
☆ A M B ☆
- 24,524 Posts
I think he means the core. You can get rid of the QuickEdit module/plugin, and the TinyMCE plugin. That trims a lot. You can also run without any of the included snippets, although you might want to keep Wayfinder for the dynamic menus (I’ve got a copy of the original DropMenu if you want a smaller menu snippet). And you can remove the included templates and just keep your own template files. If you don’t cache any pages and don’t use any chunks or snippets, it will minimize the site cache files.
In the /manager folder I am not sure if you can run without the manager/media/browser and manager/media/ImageEditor, but that would also slim it down. You can keep one of the manager/media/style skins; MODxLight is the default. You should be able to clear out the manager/media/script/scriptaculous folder, I don’t think MODx uses that for anything any more. If you won’t be doing any mailing, you can get rid of the manager/includes/controllers/phpmailer stuff.
Beyond that, just keep a full backup of it on your local machine and yank stuff out of the working copy and see what happens. If it totally breaks, replace it from your local copy.
Thanks that’s what i was looking for. How much of a difference would older menu snippet make?
I want to make my site load in a reasonable time for someone on dial-up, i think with your suggestions i should
be able to do that fairly easily.
-
☆ A M B ☆
- 24,524 Posts
If that’s your purpose, messing around with the core won’t be of any use to you. I figured you were on a very tight drive space budget. For what you’ve said, Wordcooper had it right, if a bit facetiously.
Make your pages as simple as possible, keep the CSS simple, and avoid javascript. Wayfinder can generate very simple unordered lists that can be easily styled into nice menus. This really isn’t a MODx issue per se; MODx will generate any kind of page you tell it to. The actual page generation won’t make a bit of difference to your dialup users, the size of the final page and its support files (css, javascript, images) is what will make the difference.
http://www.aptivate.org/webguidelines/HighLevelDesign.html
Also
http://www.alistapart.com/articles/5k/ although the 5k limit was the whole site, the principles of the page designs can be applied to MODx page generation.
-
☆ A M B ☆
- 24,524 Posts
There’s also a Firefox extension that plugs into Firebug that "rates" your pages, although there appears to be some controversy over the rating system.
Apart from the total filesize (html, js, css + images combined), there’s also the browser’s rendering time you need to take into account. Forget all useless gadgets and eye-candy, and certainly Ajax. Most Ajax / JS framework libraries - even when compressed - use up a lot of CPU power. Browsing a site like Flickr or Gmail on a dial-up connection must be hell.
-
☆ A M B ☆
- 24,524 Posts
The connection speed has no relation whatsoever to the client’s processor power. It’s a common thought, though; I’ve often had to explain to people that getting a new computer will not speed up the Internet for them, but getting a DSL connection instead of their dialup will make a big difference.