News & Blog
Status update 1 for JCal Pro 2.0, the Joomla calendar | Status update 1 for JCal Pro 2.0, the Joomla calendar |
|
Since stabilization of the JCal Pro for Joomla 1.5 codebase, we have been busy behind the scenes working on JCal Pro 2.0. If you've followed the forums, you have some idea of the changes that are coming. However, as we have actually started the programming, a few more things have materialized that look to now be part of JCal Pro 2.0. Before I get into the feature list, some background is prudent. One of the historical limitations of JCal Pro has always been the way in which recurring events are stored in the database. Basically, a recurring event was stored as a single record. Each time a calendar view, module or plugin was called to display events, JCal would do the following tasks:
Any change in the calendar view (say for example browsing to the next month) triggered this process again. Not only was this method inefficient and slow, it meant that creating recurring event exceptions (i.e. deleting one instance of a recurring series of events) would require a new database table to store a list of exceptions which would then be used to modify the arrays of events created in step 2 (above). Some users may recall that we experimented with this system of event exceptions in the now deprecated JCal Pro 1.6.x. In addition, adding new recurring event options like the 'third Saturday of each month' was a daunting task further complicating the mathematics required to accurately populate a calendar view with events Once JCal Pro for Joomla 1.5.x reached Release Candidate status, we started prioritizing changes for JCal Pro 2.0. It became apparent for the reasons above (and others I will discuss in other blog posts) that an overhaul of the recurring events system would simplify the codebase and make new feature additions a lot easier to implement. We decided that the best way to create recurring events was to create a database record for EVERY instance in a recurring series of events. To populate a calendar view with events now becomes straightforward:
In this case, the mathematics for creating a recurring series of events is
performed only once (when the event is created) as opposed to every
time a calendar view is required. Obviously, the processing power and
number of database queries required to display a calendar view is also
much lower. In addition, creating an event exception is simple as
an individual record in the database can be modified or deleted as
required and no calculations are required to generate a calendar view
(as this modified database record will appear as appropriate from the
database query).
Here are the other features that we are working on and expect to be available in JCal Pro 2.0. Note that a beta version should be ready before the new year and will be available to subscribers of our Lifetime All Access and Theme Club Pro subscrition plans.
Things we are strongly considering for JCal Pro 2.1 include:
Set as favorite
Bookmark
Email this
Hits: 5479 Comments (0)Subscribe to this comment's feedWrite comment |
|
| Last Updated ( Wednesday, 10 December 2008 ) |

