Welcome
Welcome to <strong>txtSQL</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

use txtSQL with CAKEphp

You can showcase you're txtSQL project in this section

use txtSQL with CAKEphp

Postby jacmgr on Sat Sep 15, 2007 2:30 pm

I am trying to integrate txtSQL with cakePHP framework. http://www.cakephp.org/

I am not very knowledgeable about cakePHP, but I did get my first success working. It still needs a lot of work. If you understand cake "datasource" (I don't) then there can be a general proper "cake" solution. The solution now is good, but not true "cake".

What I did. There is a great little CMS for cakephp. Very simple, just pages, great for small sites and uses MySQL foir database.

http://www.cupcakecms.com/

I was able to with almost no changes to the basic application have it use txtSQL instead. You can see my first try here

http://www.jhinline.com/caketest/cupcaketxtsql/

I'll keep working on it! If you have feedback, appreciate it.
jacmgr
 
Posts: 3
Joined: Sat Jun 02, 2007 8:59 pm

Postby FarazAli on Sat Sep 15, 2007 10:59 pm

WOW, that really is fuckin impressive -- pardon the language. I didn't even know cakePHP could use txtSQL.

Shit, if you continue working on the project, ill even give u space on the txtsql website lol.
Latest txtSQL Stable Release: txtSQL 2.2 Final

Track 4.0 Development

Image
FarazAli
Site Admin
 
Posts: 73
Joined: Sun Mar 25, 2007 1:08 pm
Location: New Jersey, NJ

Postby jacmgr on Sun Sep 16, 2007 8:39 am

I agree cakePHP is impressive, but so is txtSQL!!

By default cakephp can not use txtSQL. But it has its own DB abstraction method. So my goal is to write a txtSQL based dbabstrarction. In cakephp the file would be known as a custom "datasource". So there is a cake "datasource" file for MySQL, SQLLite, and many others but none for txtSQL.

I don't know enough php to even understand what is going on the the "datasource" files! So the solution I wrote is basically just an alternative "Non-cakephp" file interface to txtSQL. But it works! I think the parts I include in each model file (all the same) will become the "datasource".

The interesting part is that if I can succeed, a lot of the relationships and joins that can't be done in txtsql2.2 will be able to do if get the cakephp "datasource" working properly.

If I make more significant progress, I'll post!

Thankx for txtSQL.

JDF
jacmgr
 
Posts: 3
Joined: Sat Jun 02, 2007 8:59 pm

Postby ddddyyyyy on Tue Jun 02, 2009 3:09 am

ddddyyyyy
 
Posts: 2
Joined: Wed May 06, 2009 12:46 am

Re: use txtSQL with CAKEphp

Postby zzw08 on Tue Jul 14, 2009 5:34 am

http://www.fashion-products.com [url=http://www.fashion-products.com ]is a sell air force one,
air jordan,bape,kicks,nike,Jerseys,Shoes,Clothing,Bag,Glasses,Caps&Hats,sneakers,sunglasses,
watches,Jewelry,Electronics,NBA,NFL,NHL,MLB[/url]
shoes
clothing
Handbags Wallets
Hat
Sunglasses
Belts
Watches
Jewelry
zzw08
 
Posts: 53
Joined: Tue Jul 14, 2009 5:15 am


Return to Showcase

Who is online

Users browsing this forum: No registered users and 0 guests

cron