Does any know if they provide a plugin for pdt or zend studio
Sent from my iPhone
On Dec 22, 2010, at 6:08 PM, huoxito huox...@gmail.com wrote:
I use Komodo Edit, free version, it has a nice plugin for cakephp with
autocomplete, it get a little bit slow sometimes on ubuntu but it's great.
*linux*
vim
gedit
*mac OS*
vim
textmate
coda
*windows*
notepad2
eclipse
aptana
On Wed, Dec 22, 2010 at 12:11 AM, fadhli e.fad...@gmail.com wrote:
netbeans
On Wed, Dec 22, 2010 at 12:32 PM, Amit Badkas amit.sanis...@gmail.comwrote:
Hi,
I use easy eclipse for PHP (
Thanks
Sent from my iPhone
On Dec 23, 2010, at 1:09 AM, Angel Robert Marquez angel.marq...@gmail.com
wrote:
linux
vim
gedit
mac OS
vim
textmate
coda
windows
notepad2
eclipse
aptana
On Wed, Dec 22, 2010 at 12:11 AM, fadhli e.fad...@gmail.com wrote:
netbeans
On
np
i would highly recommend installing a linux distro and using vim with the
terminator terminal
yum..
[?]
On Thu, Dec 23, 2010 at 1:19 AM, Shinya Koizumi sh.koiz...@gmail.comwrote:
Thanks
Sent from my iPhone
On Dec 23, 2010, at 1:09 AM, Angel Robert Marquez angel.marq...@gmail.com
array(
array('Product.short_description LIKE' = %_ $plural _%),
array('Product.short_description LIKE' = %_ $singular _%)
)
On 22 дек, 18:35, Christopher Geheran cgehe...@gmail.com wrote:
So, I am attempting to have multiple like conditions on the same
field, as follows, and Im sending this
Simple question.
I'm reworking some of my code to make it more efficient and user friendly
(Fat Models etc)
I'm wondering, does $this-render() stop cake from reading further on in the
controller action? (I.e. Act like running die() )
Cheers
--
Kind Regards
Stephen @ NinjaCoderMonkey
What happens when you try?
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 23 Dec 2010, at 10:17, Stephen wrote:
Simple question.
I'm reworking some of my code to make it more efficient and user friendly
(Fat Models etc)
I'm wondering, does
I'm pretty sure it will stop executing any further but unfortunately I'm
reworking a process and haven't finished my amendments to test.
It's more of a niggle than a problem, anyone know if I need to chuck in some
dies?
On 23 December 2010 10:22, Jeremy Burns | Class Outfit
Hi,
No, $this-render() doesn't stop execution.
Amit Badkas
PHP Applications for E-Biz: http://www.sanisoft.com
On Thu, Dec 23, 2010 at 3:47 PM, Stephen step...@ninjacodermonkey.co.ukwrote:
Simple question.
I'm reworking some of my code to make it more efficient and user friendly
(Fat
Thanks for the heads up.
On 23 December 2010 10:25, Amit Badkas amit.sanis...@gmail.com wrote:
Hi,
No, $this-render() doesn't stop execution.
Amit Badkas
PHP Applications for E-Biz: http://www.sanisoft.com
On Thu, Dec 23, 2010 at 3:47 PM, Stephen
step...@ninjacodermonkey.co.ukwrote:
Hi there
I have the following controller action which is accessed via ajax (select
box, observeField)
http://pastie.org/1400270
And here are the custom model functions it accesses
http://pastie.org/1400273
I am getting the following error when I access this function from the view:
*Notice
hi there,
i have a 7 model transaction that needs to be rolled back whenever 1
of the tables do not commit properly.
i found this but i am not sure how it works.
http://book.cakephp.org/view/1633/Transactions
I am vaguely familiar with MySQL transaction but prefer to follow cake
way of doing
i have a 7 model transaction that needs to be rolled back whenever 1
of the tables do not commit properly.
i found this but i am not sure how it works.
http://book.cakephp.org/view/1633/Transactions
I am vaguely familiar with MySQL transaction but prefer to follow cake
way of doing
Fixed it
I am getting the following error when I access this function from the view:
*Notice (8): Undefined variable: category_label
[APP\views\orders\add_category.ctp, line 4]
*Does anybody have any idea why $this-set(compact( ... doesn't seem to
be sending the variable to the view?
It
Hi Jon
Use innodb and connect your keys/tables correctly.
Use saveAll not save and it will wrap all the SQL into a single transaction.
Are you suggesting an alternative to
http://book.cakephp.org/view/1633/Transactions
?
Unfortunately the 7 models are not interrelated to each other, some
are
class DATABASE_CONFIG {
var $default = array(
'driver' = 'mysql',
'persistent' = false,
'host' = 'localhost',
'login' = 'root',
'password' = '',
'database' = 'blog',
'prefix' =
Hi John
You have 2 databases, one is your development/production database
($default), the other is your test environment (For testing your app).
See: http://book.cakephp.org/view/1196/Testing
You can change the driver of your connection, i.e. use sqlite rather than
mysql
As for testing users
http://www.dereuromark.de/2010/08/17/development-vs-productive-setup/
as you can see my app switches the configs based on the server
it is even possible to select a specific datasource in the controller
actions etc.
for twitter datasources, for example.
you can also see that i use a special
only in cake1.2
in cake1.3 this is fixed
On 23 Dez., 12:56, Stephen step...@ninjacodermonkey.co.uk wrote:
Fixed it
I am getting the following error when I access this function from the view:
*Notice (8): Undefined variable: category_label
[APP\views\orders\add_category.ctp, line 4]
Unfortunately the 7 models are not interrelated to each other, some
are of course related.
So i am not sure if saveAll allows that non interrelated models.
I've only used transactions in cake to save related data, though I
believe once a transaction has been triggered, it will wrap any
Here is some code:
Model:
class Project extends AppModel {
var $name = 'Project';
var $primaryKey = 'project_id';
function customFunction($id=0){
$sql = custom sql... where project_id = ?;
$params = array( customValidation($id) );
Alright thanks!
On Dec 23, 8:55 pm, Jon Bennett jmbenn...@gmail.com wrote:
Unfortunately the 7 models are not interrelated to each other, some
are of course related.
So i am not sure if saveAll allows that non interrelated models.
I've only used transactions in cake to save related data,
Hi,
I want to use a GoogleMap in my App, has anyone Information how can I get
this .
I'm using CakePHP 1.3
Thanks
Gazi
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the
Thanks Stephen. I'd build a full working app. I took the challenge.
Hi euromark, your tutorial seems hard for me. I dare not take the
risks changing stuff too much maybe I should get more familiar first.
I'd check the link back. Thanks for it.
On Dec 23, 8:50 pm, euromark
On Dec 23, 1:50 pm, euromark dereurom...@googlemail.com wrote:
http://www.dereuromark.de/2010/08/17/development-vs-productive-setup/
FWIW I used to do the above sort of thing and would say now: bad
idea.
Why should your test/staging/live site know or have you development db
connection data.
On Dec 23, 12:26 pm, Gazmend Nrecaj gazmendnre...@googlemail.com
wrote:
Hi,
I want to use a GoogleMap in my App, has anyone Information how can I get
this .
maybe google does.
I'm using CakePHP 1.3
Good for you ;) however any google maps tutorial you google and read
is relevant, as what
Hi,
Isn't it better to create a table with the Name: acos_aros,
than; Name: aros_acos
I remember reading this in the cookbook on alphabetical order.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message
Thanks everyone, I'm moving to work on this soon.
On Dec 23, 2:27 am, ⎝⏠⏝⏠⎠ Kuldeep Singh PHP FreeLancer Web
Developer,SEO Services kuldeepsingh.sadio...@gmail.com wrote:
You need to put the relation of the favicon in the HTML
On 22 December 2010 23:55, Ryan Schmidt google-2...@ryandesign.com
On Wed, Dec 22, 2010 at 8:56 PM, chris...@yahoo.com chris...@yahoo.com wrote:
no there is no unique username, this is a social network site with
lots of users ;) I guess,... this still in construction...
If username is not unique your favorites action will never work
properly as it's only
On Thu, Dec 23, 2010 at 5:25 AM, Stephen step...@ninjacodermonkey.co.uk wrote:
I'm pretty sure it will stop executing any further but unfortunately I'm
reworking a process and haven't finished my amendments to test.
It's more of a niggle than a problem, anyone know if I need to chuck in some
On Thu, Dec 23, 2010 at 7:51 AM, euromark dereurom...@googlemail.com wrote:
only in cake1.2
in cake1.3 this is fixed
Yes, that was an unwelcome feature. In the meantime, for 1.2.x, you can do:
$this-set(compact('category_label'), false);
Check out the new CakePHP Questions site
On Thu, Dec 23, 2010 at 8:38 AM, Dan dannyetdi...@gmail.com wrote:
Here is some code:
Model:
class Project extends AppModel {
var $name = 'Project';
var $primaryKey = 'project_id';
function customFunction($id=0){
$sql = custom sql... where project_id = ?;
On Thu, Dec 23, 2010 at 10:40 AM, AD7six andydawso...@gmail.com wrote:
IMO what you're solving in the article is a hack for simply /not/
using the same database.php (and core.php for that matter) file in all
environments. Just don't add it to your repo, don't send it if you're
ftp/rsyncing
On Thu, Dec 23, 2010 at 11:36 AM, John Maxim goog...@gmail.com wrote:
Hi,
Isn't it better to create a table with the Name: acos_aros,
than; Name: aros_acos
I remember reading this in the cookbook on alphabetical order.
That's correct. However, that particular table should be aros_acos.
So far, I'm simply doing this:
$myarr = $this-query($sql, $params, false);
return $myarr[0];
I have to figure out what to do when there are no records returned.
The index is wrong when that happens.
On Dec 23, 2:50 pm, cricket zijn.digi...@gmail.com wrote:
On Thu, Dec 23, 2010 at 8:38 AM, Dan
Thanks cricket. I agree, more challenging stuff there in acl.
On Dec 24, 3:00 am, cricket zijn.digi...@gmail.com wrote:
On Thu, Dec 23, 2010 at 11:36 AM, John Maxim goog...@gmail.com wrote:
Hi,
Isn't it better to create a table with the Name: acos_aros,
than; Name: aros_acos
I
Hi there, in these days i had exactly the same problem as described
here
http://groups.google.com/group/cake-php/browse_thread/thread/6fdf4b6937b9912a/93cc444340a09940?#93cc444340a09940
es
The thing is that the solution overthere doesn't work in my
website
Anyone has some clue? I'm completely
Sent from my Nokia phone
-Original Message-
From: AD7six
Sent: 23/12/2010 3:43:30 pm
Subject: Re: GoogleApi
On Dec 23, 12:26 pm, Gazmend Nrecaj gazmendnre...@googlemail.com
wrote:
Hi,
I want to use a GoogleMap in my App, has anyone Information how can I get
this .
maybe google
hi
i need save an aditional field in join table, but don't find an
complete example that showing the correct way to do.
the question is as follows:
I have three tables as follow:
authors (id, name, lastname, nationality)
books (id, title)
authors_books(author_id, book_id,description) // Join
Hi cricket, Thank You for your reply,
speaking of unique usernames... in fact yes, they are all unique.
i'm not quite understud what Amit meant to be,... yes they are all
unique, and each user has its own Videos, Groups, Blogs, Profile,
Business Profile, etc... and in order to favorite let say I
I'm assuming you want an OR -- Dr. Loboto's produce an AND condition.
LIKE plural AND LIKE singular doesn't make a whole lot of sense. You
probably want LIKE plural OR LIKE singular to be found in the
description.
$conditions = array(
'OR' = array(
array('Product.short_description LIKE' =
just use FormHelper, and files you have are stored in $this-data in
controller after submit
VIEW like this
{{{
print $form-create(YourModelName, array('type' = 'file')); //start form
for uploading
print $form-file('inputname'); //input for file
print $form-submit('upload'); //upload button
http://bakery.cakephp.org/articles/marcferna/2010/05/27/google-maps-api-v3-helper
http://bakery.cakephp.org/articles/rajibahmed/2010/11/20/cakephp_google_map_v3_helper
On Dec 23, 6:26 am, Gazmend Nrecaj gazmendnre...@googlemail.com
wrote:
Hi,
I want to use a GoogleMap in my App, has anyone
It makes a lot more sense to book the description of the book in the
books table, don't you think?
On Dec 23, 12:10 pm, Web Developman jhona...@gmail.com wrote:
hi
i need save an aditional field in join table, but don't find an
complete example that showing the correct way to do.
the
If I have two possible solutions, one solution requires me to go
through some code line by line and figure out what is happening, and
it will take longer because the comments don't say much, and the other
solution is a plugin that also needs some modification but it comes
with a wiki, detailed and
Excellent, I'll remember to do that
On 23 December 2010 18:46, cricket zijn.digi...@gmail.com wrote:
On Thu, Dec 23, 2010 at 7:51 AM, euromark dereurom...@googlemail.com
wrote:
only in cake1.2
in cake1.3 this is fixed
Yes, that was an unwelcome feature. In the meantime, for 1.2.x, you
That's exactly what i'm doingbut nothing.
I mean, my code worked perfectly but suddenly it has stopped!
It seems like all the file uploads were disabled!
On 23 dic, 21:32, Tilen Majerle tilen.maje...@gmail.com wrote:
just use FormHelper, and files you have are stored in $this-data in
ouu...that's other problem then :D
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2010/12/23 Leandro Montero lpmont...@gmail.com
That's exactly what i'm doingbut nothing.
I mean, my code worked perfectly but suddenly it has stopped!
It seems like all the file uploads were disabled!
funny, i just wrote a helper for the new google api v3:
http://www.dereuromark.de/2010/12/21/googlemapsv3-cakephp-helper/
feel free to update or enhance it further
On 23 Dez., 22:46, georgeman confidentia...@gmail.com wrote:
@AD
the database.php is never included in any rep
it is the same for all environments so you can just drag and drop it
of COURSE this should be handled differently for ONLINE testing
enviroments, i agree
but it doesnt hurt to have the same file for local dev and live stage
and the core is the
I am installing the Comments Plugin from CakePHP
I'm stuck at the part where it says that Need to have some sort of
users or logins table that keep members personal info. This table
should contain slug field.
For some reason I just can't figure out this 'slug' business. To me a
slug is something
Hi,
I would use something like following in one of the models to save data for
non-related InnoDB tables
$db = ConnectionManager::getDataSource($this-useDbConfig);
$db-begin($this);
save code here
$db-commit($this);
Hope this helps.
Amit Badkas
PHP Applications for E-Biz:
Hi Ryan, Thanks for this, it will help in my documentation later.
On Dec 23, 2:34 am, Ryan Schmidt google-2...@ryandesign.com wrote:
On Dec 21, 2010, at 22:45, John Maxim wrote:
Hi Ryan what is a wrapper ?
A wrapper is a function that calls another function.
I'm reading this section now:
http://book.cakephp.org/view/957/The-App-Controller
I find that the usefulness of AppController is by creating the
components, uses, and helpers in a new folder different path other
than in the controller file. But that page says creating the
AppController: is
I found the file it's in *\cake\libs\controller
On Dec 24, 3:04 pm, John Maxim goog...@gmail.com wrote:
I'm reading this section now:
http://book.cakephp.org/view/957/The-App-Controller
I find that the usefulness of AppController is by creating the
components, uses, and helpers in a new
55 matches
Mail list logo