Welcome Guest, Not a member yet? Register   Sign In
Xajax 0.5.3 in Code Igniter 1.5.4
#11

[eluser]Leonardo Radoiu[/eluser]
Hello!

The code you are asking about is placed in a file called Xajax_lib.php (or whatever you like, as long as you modify the class name and the constructor) an it includes the main file of the xajax library in a CodeIgniter style, in order to be placed under the system/libraries/Xajax_lib.php (if you look inside system/libraries you may probably see other files named in the same manner).

As you know the Xajax kit includes numerous files inside. If you want to mantain a clean system/libraries folder (as I do) you would like to keep the third-party libraries contained in their own folders, for example: system/libraries/xajax_core/* or system/libraries/xajax-0.5.3/* and so on.

My choice was to put the xajax files in system/libraries/xajax_core/ as you see. The advantage of the Xajax_lib.php is that you can move from an old version to a new one simply by changing the 'require_once' line in this file (and eventually add any other lines that makes your new xajax version compatible with your project) and thus you have more control over it.


Messages In This Thread
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 08-30-2007, 04:50 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 09-14-2007, 12:49 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 09-14-2007, 01:09 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 09-14-2007, 01:17 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 09-14-2007, 04:03 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 09-14-2007, 04:13 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 09-15-2007, 11:10 AM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 09-15-2007, 11:32 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 09-16-2007, 01:51 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 05-13-2009, 02:01 PM
Xajax 0.5.3 in Code Igniter 1.5.4 - by El Forum - 05-13-2009, 02:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB