• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Tue May 17, 2011 6:22 am 
Offline
Forum Members
Forum Members

Joined: Wed Jul 15, 2009 12:35 am
Posts: 110
Mean! Can't wait for the latest release. Thanks heaps for your hard effort :)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Update: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed May 25, 2011 2:00 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8170
Location: Fernie British Columbia, Canada
Our latest changes to the core for supporting lazy loading of modules on the frontend has been one of the biggest changes to the API's in a long time.

Unfortunately, it also means that we've broken some backwards compatibility.

a: The $gCms->modules array that previously contained a list of all of the installed modules, along with a reference to their objects has been removed. A new API in the ModuleOperations class replaces this functionality. Unfortunately, this WILL break some modules and user defined tags that rely on the old $gCms->modules array.

b: At the same time, we've gone with PHP5 style constructors for modules. i.e: __construct() vs. the old PHP4 Style CMSModule() constructor. This will break a few modules, but most modules did not need constructors, so hopefully there won't be many.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed May 25, 2011 6:38 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Thu Dec 18, 2008 9:37 am
Posts: 276
Location: Bretagne
I totally understand these choices and I appreciate them

the main concerns about the modules is the mismanagement of the maximum version of CMSMS authorized by developers

I'm also concerned as a developer of module. We MUST specify our modules for a minimum version and max for better compatibility. We MUST keep in touch with news from the cmsms-core to offer consistent version with the API.

it is not easy but we must do and unfortunately the forge does not help us... I know this is not the subject and I won't start another debate here.

Otherwise can you give us an indication on how to do a better code for a call to a other module?

Instead of $gCms->modules

http://www.cmsmadesimple.org/apidoc/CMS ... duleLoader maybe ?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed May 25, 2011 7:37 am 
Offline
Translator
Translator
User avatar

Joined: Sun Mar 29, 2009 3:32 pm
Posts: 150
Location: London
Which version will be concerned? I'm a bit confused about "CMSms 1.10".. are wo going back to Stone Age?

bess \bess:
I'm also concerned as a developer of module. We MUST specify our modules for a minimum version and max for better compatibility. We MUST keep in touch with news from the cmsms-core to offer consistent version with the API.

This also means that we have to offer a version for older cms installations along with a one for newer installations... Not so nice!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed May 25, 2011 7:41 am 
Offline
Power Poster
Power Poster

Joined: Mon Mar 14, 2011 1:16 am
Posts: 265
Location: Brisbane, Australia
Foaly* \Foaly*:
Which version will be concerned? I'm a bit confused about "CMSms 1.10".. are wo going back to Stone Age?

I'm not sure, but are you misreading the version? It's one-point-ten. The current version is one-point-nine-point-four-point-1. So 1.10 is newer than 1.9.x.x.

Foaly* \Foaly*:
This also means that we have to offer a version for older cms installations along with a one for newer installations... Not so nice!

If this concerns you then simply stop supporting/developing the older versions. Develop for the current version and leave the older versions for anyone who needs them for their older system.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed May 25, 2011 9:47 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Thu Dec 18, 2008 9:37 am
Posts: 276
Location: Bretagne
\$1:
This also means that we have to offer a version for older cms installations along with a one for newer installations... Not so nice!


I was speaking primarily to make our module with a maximum version (the minimum version is anyway required)

backward compatibility to your module ? : it is your job. You can also make your code for differents versions of cmsms, I never said that we must do our module for a unique version of CMSMS! reread my mesage.

I say, I repeat and I insist that developers must stop pretend that their module will be compatible with all future versions of cmsms. If I develop a module today, I must necessarily specify a maximum version: 1.9.4.1

the message of Calguy1000 is the consequences of errors of module developers


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed May 25, 2011 10:26 am 
Offline
Translator
Translator
User avatar

Joined: Sun Mar 29, 2009 3:32 pm
Posts: 150
Location: London
gocreative \gocreative:
I'm not sure, but are you misreading the version? It's one-point-ten. The current version is one-point-nine-point-four-point-1. So 1.10 is newer than 1.9.x.x.

Oups :-[

gocreative \gocreative:
If this concerns you then simply stop supporting/developing the older versions.

Okay, right.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed May 25, 2011 12:38 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8170
Location: Fernie British Columbia, Canada
\$1:
Otherwise can you give us an indication on how to do a better code for a call to a other module?

Instead of $gCms->modules


There are new functions in the ModuleOperations class. Some of them include:

\$1:
$modops = cmsms()->GetModuleOperations();

// get a list of installed/active module names.
$installedmods = $modops->GetInstalledModules();

// get a hash of loaded modules, and their objects
$loadedmods = $modops->GetLoadedModules();

// get a list of all of the modules that exist in the modules directory
$allmods  = $modops->FindAllModules();

// get a specific module
// (if it is installed, and active... it will be loaded if necessary)
$some_object = $modops->get_module_instance('CMSMailer');

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed May 25, 2011 1:31 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8170
Location: Fernie British Columbia, Canada
A few more of changes that are coming in 1.10

a: The ability to have a separate admin url preference
- With support for SSL. Though we aren't going to guarantee that IE won't complain about image tags etc, not using ssl.

b: Salted Passwords
- On NEW INSTALLS (upgrades will not be effected) you will have the option to salt all passwords (for added security). with salted passwords there will be NO METHOD TO RESET THE PASSWORD other than the one built into the CMS admin panel. it will be critical that a valid email address be associated with all important admin accounts.

c: Cleaning up the module class some more.
The $this->db and $this->smarty and a few other internal variables have been replaced with a simple __get() accessor method for compatibility, but deprecated. This in itself will not break any modules, they will just be slightly slower.... However, doing a print_r on a module object should work nicely now as we've removed that nasty circular loop between the modules and the $gCms object.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Fri Jun 10, 2011 3:37 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8170
Location: Fernie British Columbia, Canada
Update:

Though we're still working on the finishing touches. We've seriously revamped the core modules, module manager and module loading process:

a: ALL modules are essentially lazy loaded upon request.
b: For compatibility reasons, modules that are marked as 'cant lazy load' (which is almost all of them at this point) are loaded on a frontend request. All modules are still loaded for admin requests (so that the navigation can be built. Still haven't figured a solution to this).
c: Minimizing the size of the XXXXX.module.php files has started
(this chews up WAY less memory for just building a navigation in the admin, or registering routes)
d: Got rid of nuSOAP from the core (ModuleManager was the only thing that used it) and replaced it with a RESTFUL interface.
e: Rewrote ModuleManager to be alot more memory efficient, and faster.
f: Rounding out the functionality for the Module Manager (downloading older versions, upgrade respects dependencies, etc).

This functionality, as mentioned before means that some of the older methods people used to access modules: like the $gCms->modules array has been removed. if you have user defined tags or modules that used this methodology, then they may be broken on upgrade.

Module developers should be part of the beta process so that they can be sure to upgrade their modules properly in time for release.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Wed Jun 15, 2011 3:42 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8170
Location: Fernie British Columbia, Canada
Here we go again with another update:

We're enhancing the admin log functionality... making it more flexible, and easier to use. Also, we're making sure that we're adding admin log entries in many more places, making this more valuable for every day use. Also, the admin log entries from the core, and core modules will always be in English, independent of what the currently logged in users selected language is.

We've changed the smarty mechanism to better take advantage of lazy loading. in 1.10 ALL of the user defined tags, and plugins will be lazy loaded. This is a big thing for memory optimization.

Additionally, we're continuing to play with module lazy loading. Here's what I have working as of now (still to be tested by our QC team, lets hope it works):
A: No modules are loaded by default in the admin interface
B: In order to build an admin navigation, modules are loaded and evaluated.. the results of that evaluation are cached for each user. This means that for subsequent requests no modules have to be loaded until they are called. The cache is automatically cleared when a module is installed/upgraded/uninstalled, and in a few other places.
C: Module capabilities are cached in a similar method
D: On the admin, when a module does have to be loaded (i.e: to display the module admin console) all of its dependants are loaded (so that it can register it's smarty plugins, set it's state etc).
E: Notifications will be rewritten to be a pseudocron task. Threfore modules will not have to be loaded for each admin request to build the notifications, only when pseudocron says it has to.

We are making every effort to ensure that modules are by and large backwards compatible (except for the $gCms->modules array). so we may have to back out a couple of these enhancements if we find we've broken stuff too much. However, we expect to see significant performance and memory improvements for the majority of admin requests.

Edit: Some custom admin themes may be broken in the upgrade (because methods were rewritten to adjust for the $gCms->modules, and the lazy loading and caching stuff). So users who manage custom admin themes WILL need to test these before upgrading their customers sites.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Thu Jun 16, 2011 4:26 pm 
\$1:
- We're hoping to provide an admin side search capability to search inside pages, GCB's, templates, stylesheets, etc. This will be handy for solving the 'where is this called' problems.

- We're planning on writing and slowly introducing a replacement to listcontent to get past our scalability and memory issues. We'll see how much time we have though.


That's what I am talking about! Thanks a million!


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Thu Jun 16, 2011 5:29 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Jun 08, 2007 7:29 pm
Posts: 889
Location: 's-Hertogenbosch, Netherlands
\$1:
Module developers should be part of the beta process so that they can be sure to upgrade their modules properly in time for release.


Where can I/we (as developers of 3rd party modules) find the sources for download/test?
Will there be a 1.10 forum part (as there was for 1.8 and 1.9)?

Duketown


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Sat Jun 18, 2011 4:01 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8170
Location: Fernie British Columbia, Canada
There will be a formal beta process for 1.10, that will probably be a public beta. And a forum attached to that that will be highly moderated. The beta process will be for testing of stability, not for requesting features.

The brave can still check out 1.10 from SVN but please don't report problems at this time. The feature list isn't complete and some stuff is still broken or incomplete.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Coming Soon - CMS Made Simple 1.10
PostPosted: Sat Jun 18, 2011 9:14 pm 
Offline
Forum Members
Forum Members

Joined: Sun Dec 19, 2010 9:05 pm
Posts: 32
Will the backend be Smarty-fied?

The work is already done - look here

viewtopic.php?f=5&t=54764


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: googlebot


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: