Wow, only just realised CakeFest is in UK this year! Would really
love to come to whole thing, but I have not got £1k floating around to
fund 3-4 days in Manchester :o(
Considering just going to workshops or conference as would only have
to fund one night, but can't make my mind up what would
Hello to cakePHP
I created a CouhDB datasource at my company, and we released it as
open source.
It handles CRUD methods on a document, and can query the CouchDB
views.
Code and documentation are available here :
https://github.com/PathMotion/cakephp-couchsource
If you're interested in review,
Hi,
I am currently doing the same for my company as well.
You are going to face a bit of trouble here, since I can't see how you
model your couchdb views to fetch relations. See an introduction on
Entity Relations with couchdb views here:
http://wiki.apache.org/couchdb/EntityRelationship
As an
As an addition to my last post, here is what I am currently doing:
- Develop a special CouchDB Model that application models will extend
- Add a required docType field to the Models (might be defaulting to
Model::$alias) to check for in automatically created views.
- In the CouchDB Model
Hi
Im doing some data validation from a form using my model.
I have a form with phone numbers added: phone_home, phone_mobile,
phone_work
With my model, I want to validate that at least one of the three is
filled, but doesnt have to be all three. Is there any way to do that?
--
Our newest
Hi Thomas,
Indeed, we use the one database for one model approach.
Since Couchdb doesn't have hardcoded relations, I'd share your
conclusion that it's not easy to have it automaticlay handled with a
relationnal oriented ORM.
Then, you could still have several models with the same database
Here's a custom validation rule that works:
function hasOnePhone() {
$addressTypes = array(
'OrderAddress',
'BillingAddress',
'Customer'
);
foreach ($addressTypes as $addressType):
if
Hard task you're working on there ;)
I have also think about automatically created views when building the
datasource. That was for filtering document type too, if I remember
well.
Imho, the main point here is that couchDB documents can have so many
shapes and format, that doing a strong ORM over
$html-link($article['User']['username'],array('controller' =
'users','action' =
'view_profile',$article['User']['id'],array('class' =
'button','onmouseover'=loadtooltip(this,'$userid'),'onmouseout'='hidetooltip()';
I got problem this http://upic.me/i/q4/05cats.jpg
I'm doing wrong?
thank
--
first parameter in link method is name for link, second is array or string
for LINK, third parameter is for other attributes in link
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/7/13 taqman filler taqman...@gmail.com
$html-link($article['User']['username'],array('controller' =
can you help me config pls
2011/7/13 Tilen Majerle tilen.maje...@gmail.com
first parameter in link method is name for link, second is array or string
for LINK, third parameter is for other attributes in link
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/7/13 taqman filler
$html-link($article['User']['username'],
array(
'controller' = 'users',
'action' = 'view_profile',
$article['User']['id']
),
array(
'class' = 'button',
'onmouseover'=loadtooltip(this,'$userid'),
'onmouseout'='hidetooltip()'
)
);
you
You are missing a ) after $article['User']['id']
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 13 Jul 2011, at 11:55, taqman filler wrote:
$html-link($article['User']['username'],array('controller' =
'users','action' = 'view_profile',$article['User']['id'],array('class' =
This is how it should be:
$html-link(
$article['User']['username'],
array(
'controller' = 'users',
'action' = 'view_profile',
$article['User']['id']
),
array(
'class' = 'button',
Hey Paul,
This years event is cheaper than last years.
We've made sure that our sponsors are aware of our costs and concerns,
and that the venue is co-operating so we can deliver a more cost
effective solution.
If you're only able to attend one of the portions, then you need to
decide if you
Hi,
I have cakephp site working fine on my localhost.I downloaded same site from
server and changed paths and db which works fine.But same site on server is
not working fine.Its nic server for govt sites.
I did setup for site without htaccess also.But for that its not picking some
paths of
Hi,
I'm new to CakePHP and actually I'm creating my first app with it.
I'm trying to find out how to add a drop down list with the data of a column
of another table. I mean, I have an add view for a students table, the
students is related to a people table and people table is related to
Hello,
I need to create a website like this:
- Home page with public access for everyone.
- This Home page contains a login/register section and links to
several mini-sites (this number will start small but will grow over
time)
- The minisites will have same header (logo/menu) and footer
What server software is running. Is it Apache? Zeus? IIS?
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 13 Jul 2011, at 08:21, baljit wrote:
Hi,
I have cakephp site working fine on my localhost.I downloaded same site from
server and changed paths and db which works fine.But same
Hello people.
I need to set some HTTP headers Expires, Cache-Control,
Last-Modified, for resources as CSS files, Images files, js files,
etc (Webroot content).
I've read that there's some functionality, through
Configure::write('Asset.timestamp', true); // In core.php
and the
Ok, i've solved the css (and js) thing with this tutorials:
http://milesj.me/blog/read/cakephp-asset-compression
http://www.bunchacode.com/programming/get-cakephp-build-in-css-compression-to-work/
Now, how can i do that for images?
I think just have to intercept the image GET request and add
http://book.cakephp.org/view/1390/Automagic-Form-Elements
^^ It's possible for me to make sure a user doesn't choose beyond a
minimum and maximum years, but whats the best way of putting limits on
the months and days as well? Basically I want to make sure a user can
only select a date in the
use a js datepicker
those can be configured to disable those dates
and always make sure the validation in php (backend) is there as well
(as frontend js validation can be tempered with in the browser)
On 13 Jul., 18:38, Shaz shazam...@gmail.com wrote:
Previous confs have been uploaded or streamed video feed
I am unable to make this one, are some of these talks going to be
added to the cake TV site?
Particularly the cake 2.0 ones :)
- S
On 13 July 2011 15:06, Graham Weldon predomin...@gmail.com wrote:
Hey Paul,
This years event is
Thank you for this information. Basically, I should just not count on CSRF
protection in AJAX, which I get. I'm assuming I must be making some change
to the form in question via AJAX, I guess I'll have to turn off the
validation.
--
Our newest site for the community: CakePHP Video Tutorials
playing around with cake2.0 head I could not get configure::load() to
load my custom configs.php:
Configure::load('configs');
/app/Config/configs.php:
$config['X'] = 'y';
...
Configure::read() would not display the new ones
anything I am missing?
--
Our newest site for the community: CakePHP
you don't read images with PHP or cake.
on apache you can use mod_expires.
webroot/htaccess:
IfModule mod_expires.c
ExpiresActive On
ExpiresByType image/jpg access plus 1 day
ExpiresByType image/jpeg access plus 1 day
ExpiresByType image/gif access plus 1 day
ExpiresByType
Works perfectly, thanks.
On Jul 13, 10:07 pm, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
Here's a custom validation rule that works:
function hasOnePhone() {
$addressTypes = array(
'OrderAddress',
'BillingAddress',
I've never used cruisecontrol, but Jenkins is pretty simple to setup.
I just use the testsuite shell to execute the tests, as of a mid-cycle
1.3 release the test runner will exit non-zero on test failure which
Jenkins can use to break the build.
-Mark
On Jul 11, 10:06 pm, Meroe Kush
Cake clears the core cache files after 10 seconds in development. And
999 years in debug = 0. There is no magic decisions to be found :)
-Mark
On Jul 12, 4:44 am, Thomas von Hassel darx...@gmail.com wrote:
Hello good people
I have a somewhat complex CakePHP site where various views are
Mark,
Thanks for the response. I'll check out Jenkins.
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of mark_story
Sent: Wednesday, July 13, 2011 11:07 PM
To: CakePHP
Subject: Re: cakephp / tdd / hudson
I've never used cruisecontrol,
I guess that question was a little too hard to answer, so I'm going to
replace it a little. :)
By personal preference, when you output JSON to the view, do you use
JsHelper::object() or JsHelper::value()?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
I try to use tooltip but got problem this http://upic.me/show/26118528
I do not know where the problem comes from
this code http://bin.cakephp.org/view/1377568168
thank
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
HI,
Can I get any component for PMS in cakephp?
Thanks Regards
Jay
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from
34 matches
Mail list logo