Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 4:55 pm (All times are UTC )

 




Post new topic Reply to topic  [ 3 posts ] 
Author Message
Posted: Sun Feb 25, 2007 10:34 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 04, 2006 6:25 pm
Posts: 43
Hello

I really love the database class which Joomla is using and i am creating various personal applications which interact with mysql. I have been working on a class of my own but it silly to do such thing when there is already a tested class out there.

Is it possible to simply get some specific files from Joomla source so i can have this support at my project? If someone knows please let me know what exactly i need to use and if there are any pitfalls i might want to know.


Top
  E-mail  
 
Posted: Wed Feb 28, 2007 7:58 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Online

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4481
Location: Toronto, Canada
It shouldn't be too difficult.

You might have to add the two files that it seems to include:
include $basePath . '/../configuration.php';
include $basePath . '/../offline.php';


But other than that, there should be no problem.
Joomla! 1.5 is actually designed so that the framework API can be used without the Joomla! CMS application.  It's pretty neat.

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Thu Mar 01, 2007 6:47 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 04, 2006 6:25 pm
Posts: 43
Thank you ian for the information. I wasn't aware of that for Joomla 1.5 since i haven't found time to play around with it yet. I have been looking at the class and it's pretty clear that can be used at a 3rd party project by having in mind what you've also said about the classes.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Quick reply

 



Who is online

Users browsing this forum: gjc and 15 guests


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

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group