This has nothing to do with CakePHP - it is a pure-PHP issue.
Maybe the versions of PHP you use in the CLI (terminal) abd web are
different? Check which is which and if different see how to configure the
web-based one.
It really depends on what OS you are running this. Any web application
I've been following this theme for quite some time now and I need to ask:
Why would anyone want to use MSSQL with PHP?
And before anyone starts getting evangelist on me:
Yes, MSSQL could be considered an advantage over MySQL and it is. Sure! But
IT IS NOT THE ONLY OPTION and it is very,very
I. There should not be a case where you have to load so many models in a
single controller. As all objects in OOP, it is good that controllers be
delegated *only one specific task*, not 2, not 3 and not 25...
Are you sure that there is no way that you can extract so functionality
and move it
I know this is somewhat of a troll answer, but:
This should be possible with some tweaks to core variables, but why in the
world would you want to do that? If your answer is that you know Smarty and
not CakeViews I'd suggest you take 4 hours of reading and you will be
pretty comfortable with
I haven't used Jasper exactly, but you can pretty easily use the
PHPJavaBridge http://php-java-bridge.sourceforge.net/ to integrate and
call it's methods.
Here are some examples I found:
https://github.com/tsuyu/jasper-report-php-integration
Business-related DATA-connected logic is best residing in the Model, yes
but there are still other considerations.
What if your logic was somehow VIew-related? For example you had to show
some complex three-like structure and you wanted to pre-process it on the
server?
A model would do of
Well I don't think there is any support out of the box but I may be very
wrong.
Can someone who knows the core super well answer?
Otherwise you can extend the DboSource and connect throgh a PDO just like
in this example:
https://gist.github.com/ceeram/3062745
- check the
function connect()
Now that i searched a bit more I saw that There is a Datasources plugin for
CakePHP 2.0 https://github.com/cakephp/datasources/tree/2.0 but the
`Database/Odbc` data source is still incompatible with CakePhp 2.x.
*So you should definitely start there!*
I also answered your StackOverflow
You're talking about json responces so I suppose as an overall service
pattern you are using REST?
1. For the redirects
Well in that case, REST dictates that you need to use HTTP's facilities. I
am saying this especially for the redirects.
You don't need to send redirects as information in JSON
Well in a sense it is thread safe since the executed php code will NOT
actually thread itself.
@Gary Kremmer seems to be confusing terms.
Gary, there is no problem here since each and every user will get his own
execution scope and instance of the code.
The fact that nginx forks itself for
Here's an interesting thing:
I am not actively developing in Cake for a year now, however I do continue
to keep up with changes, have some little projects here and there and most
importantly to try to help.
However I cannot not agree with Jeremy Burns' comments on the types of
questions being
I can bet some money that this could be somehow related to:
https://groups.google.com/forum/#!topic/cake-php/hhnJEXDSGzU
Good to know you've solved your issue btw.
On Tuesday, 11 March 2014 19:19:01 UTC+2, André Luis wrote:
Hi people, I am trying to follow the Blog tutorial from cakephp 3.0
It is possible of course but it depends on if you would like to persist the
pagination - i.e. save the state via URL so that you can access the same
portion of data later.
In that case you will have to find a nice named-parameter way to persist
the pagination data.
You will have to use AJAX
:D
On Monday, 10 March 2014 11:29:04 UTC+2, AD7six wrote:
On Monday, 10 March 2014 10:06:45 UTC+1, raj kumar Pustela wrote:
hi all..
How to implement upload compressed image/video in cakephp 2.3.0.if
any one know pls help me.
It's exactly the same process as to upload an
As Reuben said - you will be far better off with a Web Server based
redirect.
This way your application will not get called at all.
On Monday, 20 January 2014 23:49:09 UTC+2, gonzela2006 wrote:
Hello,
I want to use *Router::redirect* to redirect to another domain and pass
all parameters
15 matches
Mail list logo