SimpleRain / SimpleOptions

A simple wordpress options framework for developers.
16 stars 2 forks source link

README.md missing #33

Closed teamcrisis closed 11 years ago

teamcrisis commented 11 years ago

README.md that had setup instructions is missing

dovy commented 11 years ago

@teamcrisis You're right. I've been totally restructuring Simple Options.

I'm glad to say that with 80+ options for a theme the database calls have been reduced from 555 to 20! Expect MASSIVE speed improvements and an update readme later today.

dovy commented 11 years ago

@teamcrisis Try the new plugin out. You'll be pleased.

Reduced DB calls from 555 to 20 for a 80-field theme.

dovy commented 11 years ago

Also added back in the readme. Demo site will be working shortly.

teamcrisis commented 11 years ago

@dovy. Just tested the embed option.

A few observations:

  1. I would update your Readme instructions for embed to something like this:
#Grab the latest release from here: https://github.com/SimpleRain/SimpleOptions/releases
#Store in a folder of your choosing. Let's say, simple-options
#Include class-simple-options.php and options-init.php in your functions.php file, like so:         
require_once ('/simple-options/class-simple-options.php');  
require_once ('/simple-options/options-init.php');
  1. Loading the 'home settings' tab I'm seeing this: 31 queries in 2.737 seconds at the bottom of SOF. Are you seeing similar numbers? I think this load time is about the same as I saw with the prior version. I still think it's related to the load performance of typography.
  2. Can you explain a bit about what you did with this release? I seems like a major rewrite. Is this mainly NHP with a SMOF skin, or more inline with the SMOF way of doing things?
  3. Is everything in your 'Using the options' wiki page still valid with this rewrite? https://github.com/SimpleRain/SimpleOptions/wiki/Using-The-Options
dovy commented 11 years ago

Good call. I'll make the changes tomorrow or you could submit a pull request. ;)

The initial load will be around 31 queries. Subsequent should be around 20.

The wiki page is up to date minus the way in which Simple Options is initialized and I really simplified the hooks.

So this release went beyond SMOF and NHP. Here are some of the things I did:

My main motivation was to make sure the plugin followed standards. I also needed to be able to load sections in different functions and files and have the object add to the sections before loading HTML or anything.

Namely, it's closer to release than its ever been. I'll update all the wikis thus week.

I've almost got a demo site up that functions. Admin panel and all.

teamcrisis commented 11 years ago

Excellent. I'll do some testing today and tomorrow. Looking forward to a stable 1.0 release so I can think about using this in production.

dovy commented 11 years ago

This week it will be 1.0. The last release was the last big change. From here on out it's fields and a few bugs.