31
well, nice tip; I haven't tested it yet, but in theory:
1- server process may not change cause I think when XOOPS attempts to set theme variables, it has already done all the process to make the final file and variables are ready, so although in this code we do not send block and theme variables they are all loaded by the server. (correct me if I am wrong)
2- the bandwidth may save much as theme images an styles and scripts are not loaded in each request. (well this is the Ajax advantage!!)
And I am working on changing the blocks too, as when you navigate to another page that has different blocks some Ajax response would be sent to get new blocks and replace them if any changes. the step after that would be adding Rico drop zone and drag and drop facilities. and some special form elements, some that will generate on the fly by javascript to make for example forms act in Ajax environment, and some to be used in modules (modules that will be developed for this purpose in the future maybe).
I think after doing these then there will be a great difference in the performance (still in the bandwidth).
any ideas?
1- server process may not change cause I think when XOOPS attempts to set theme variables, it has already done all the process to make the final file and variables are ready, so although in this code we do not send block and theme variables they are all loaded by the server. (correct me if I am wrong)
2- the bandwidth may save much as theme images an styles and scripts are not loaded in each request. (well this is the Ajax advantage!!)
And I am working on changing the blocks too, as when you navigate to another page that has different blocks some Ajax response would be sent to get new blocks and replace them if any changes. the step after that would be adding Rico drop zone and drag and drop facilities. and some special form elements, some that will generate on the fly by javascript to make for example forms act in Ajax environment, and some to be used in modules (modules that will be developed for this purpose in the future maybe).
I think after doing these then there will be a great difference in the performance (still in the bandwidth).
any ideas?