Salines writes:
>
>
>
> Hi,
>
> I have a large number of CakePHP 2 web applications, many of them use
remote data over the DataSource. I'm reading the documentation of CakePHP
3, but I can not find instructions for remote datesource.
>
> My next project also
Ok, thank you.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
t
The custom datasource approach from 2.x had a number of drawbacks and leaky
abstractions which we decided we didn't want to bring forward.
The new orm focuses on being really great for sql based datastores, and we felt
it would be impossible to provide great sql support and every other ki
Hi,
I have a large number of CakePHP 2 web applications, many of them use
remote data over the DataSource. I'm reading the documentation of CakePHP
3, but I can not find instructions for remote datesource.
My next project also requires a custom DataSource (ArangoDB), so I planned
to bui
Hi everyone,
I am writing a custom datasource with cake 2.x to get data from an api
call.
I did everything according to the twitter example in the book.
But when I run a Model->find('all') I get following error message:
Error: Database table examples for model Example was not foun
I got it working finally. This is what I ended up with:
database.php
public $gti = array(
'datasource' => 'GtiSource',
'url' => 'http://swright-dev:1337/'
);
Model
public $useDbConfig = 'gti';
Datasource
filename: GtiSource.php
class : GtiSource
Although the filename:
ng the naming conventions for a
> custom datasource.
>
> datasource file name: gti_api_source.php
> class name GtiApiSource
>
> Database Config
>
> var $gti_api = array(
> 'driver' => 'gti_api',
> 'url'
Hi All,
I am having some issues understanding the naming conventions for a
custom datasource.
datasource file name: gti_api_source.php
class name GtiApiSource
Database Config
var $gti_api = array(
'driver' => 'gti_api',
'url&
y
written properties and methods.
Other times, you'll have to break out the big guns to load your class.
App::import() will do that for you.
http://book.cakephp.org/view/1031/Saving-Your-Data#!/view/933/The-App-Class
Regards,
Don
On May 4, 4:21 pm, flowctrl wrote:
> Hello,
>
> In CakeP
Hello,
In CakePHP 1.3, how do I use a function in a custom datasource, from a
model that uses that datasource?
My custom datasource works for regular queries, but I want to extend
the default "find" method to include a new parameter. In app/models/
datasources/foofiles_source.ph
t;
> 2011/4/30 flowctrl
>
>
>
> > Hello,
>
> > CakePHP seems to be ignoring the $useDbConfig variable in my model.
> > I'm trying to use a custom datasource, but I'm getting the error:
>
> > Database table foo_files for model FooFiles was not found.
variable in my model.
> I'm trying to use a custom datasource, but I'm getting the error:
>
> Database table foo_files for model FooFiles was not found.
>
> When I first loaded the model and new datasource, there were typos in
> the datasource file which caused error
Hello,
CakePHP seems to be ignoring the $useDbConfig variable in my model.
I'm trying to use a custom datasource, but I'm getting the error:
Database table foo_files for model FooFiles was not found.
When I first loaded the model and new datasource, there were typos in
the datasource
I'm trying to write a custom datasource that reads and writes INI
files (php ini files, not Windows). Even though INI files and
databases are fundamentally incompatible in many ways, I never the
less would like it to be as compatible with database sources as
possible.
I've created class
14 matches
Mail list logo