Documentation

Below you will find documentation on how to use our software. This contains easy-to-use steps by step guides with helpful screenshots on how to configure and get the best results.
 

Categories

Chapter 3: Read and Update

Next, we will deal with how we will read the data from the database, for our defined types, for inline editing, and how to update that data as well. 

You may be asking the question, have we already not got the data so why do we need to read it from the data again?

Well, the answer is Yes and No.

We do indeed have the data, but not necessarily in the format it needs to be stored in the database. In fact, the data could have been altered by Joomla’s content plugins, and possibly transformed by some JavaScript code upon rendering. 

Also we may not even have all the data, if we are in a category blog view, when we are trying to edit a blog item.

So taking all of the above into account, in summary, we have to read the data ourselves from the database, and retrieve the data, exactly, as it is stored in the database, without any data transformation, so that the end user can edit it. Once the data has been edited, we then need to send the edited data, back to Joomla to be saved.

It doesn’t finish there; we have to send back the saved data to the user and update the data, transform and render it as it was before the user edited it.

WebxSolution Ltd and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.

Copyright © 2009 - 2018 WebxSolution Ltd
Powered by JoomlaWired

Cron Job Starts