need cakephp developer for 2 page site

2013-09-30 Thread mrinalKumar jha
need cakephp developer for 2 page site. Future i need in this site is searching sorting etc... contact Mrinal (india delhi) 9015151449 mrinalkumarj...@gmail.com -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this

Using PHPUnit for code that requires basic authentication

2013-09-30 Thread David Suna
How do I write test cases in PHPUnit for code that is using the Auth module with basic authentication? I have found bits and pieces of information about it but does anyone know of a step by step howto or detailed documentation? My code limits certain actions to certain user types so it calls

How to relate table with one of many others?

2013-09-30 Thread Kemal
Hello, I have created a topic on stackoverflow but didn't get attention. So... I am little confused about my db design. I have orders table that may have records from one of many others. So is it OK to relate each tables with 1:1 to orders. Please look at orders domains andhostings table

Re: How to relate table with one of many others?

2013-09-30 Thread Jeremy Burns | Class Outfit
Surely there would be a 1-many relationship between: orders_types (which ought to be called order_types) and orders domains to orders hostings to orders? Jeremy Burns Class Outfit http://www.classoutfit.com On 30 Sep 2013, at 13:05:18, Kemal ahmetkemala...@gmail.com wrote: Hello, I have

Re: How to relate table with one of many others?

2013-09-30 Thread Jeremy Burns | Class Outfit
Scrub that - I see there is an orders_id field on hostings and domains. Sorry. However, some of your fields have incorrect names: domains-orders_id ought to be 'order_id' hostings-orders_id ought to be 'order_id' orders-orders_types_id ought to order_type_id clients_bills table name ought to be

Re: How to relate table with one of many others?

2013-09-30 Thread Kemal
I am using Mysql Workbench and it forces plural names. I will fix them. Will cakephp decide whether it is a domain or a hosting looking by order_type_id? On Monday, September 30, 2013 3:35:15 PM UTC+3, Jeremy Burns wrote: Scrub that - I see there is an orders_id field on hostings and domains.

Re: How to relate table with one of many others?

2013-09-30 Thread Kemal
I am using Mysql Workbench and it forces plural names. I will fix them. Will cakephp decide whether it is a domain or a hosting looking by order_type_id? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message

Re: How to relate table with one of many others?

2013-09-30 Thread Kemal
I am using Mysql Workbench and it forces plural names. I will fix them. Will cakephp decide whether it is a domain or a hosting looking by order_type_id? On Monday, September 30, 2013 3:35:15 PM UTC+3, Jeremy Burns wrote: Scrub that - I see there is an orders_id field on hostings and domains.

custom query pagination without using custom paginate

2013-09-30 Thread NikNik
Hello I have a model whose controller serves many pages using normal paginate. Now I need to use a custom query and cannot use the normal find method (or I am not able to) But I do not know how to paginate. The query is something as follows: http://pastebin.com/p0bux1ig The cookbook

CakePHP bake command not working in CLI

2013-09-30 Thread Victor Musvibe
I have got an application that i am working on built using Cakephp 1.3 problem that i am having is that i am failing to bake using CLI. I am using Windows 7 and xampp as my localserver. This is how i have added my Environment Variables. C:\xampp\php;C:\xampp\htdocs\myappname\cake\console\

Re: How to relate table with one of many others?

2013-09-30 Thread Jeremy Burns | Class Outfit
Cake won't/can't but your code can make it happen. Jeremy Burns Class Outfit http://www.classoutfit.com On 30 Sep 2013, at 13:55:01, Kemal ahmetkemala...@gmail.com wrote: I am using Mysql Workbench and it forces plural names. I will fix them. Will cakephp decide whether it is a domain or a

Re: How to relate table with one of many others?

2013-09-30 Thread Kemal
Thank you On Monday, September 30, 2013 5:39:42 PM UTC+3, Jeremy Burns wrote: Cake won't/can't but your code can make it happen. Jeremy Burns Class Outfit http://www.classoutfit.com On 30 Sep 2013, at 13:55:01, Kemal ahmetke...@gmail.com javascript: wrote: I am using Mysql Workbench

Re: Migrating from 1.3 to 2.x

2013-09-30 Thread euromark
Yes, directly upgrade to the lastest version - master branch = 2.4. And if you want more automagic beyond the core shell, check thishttps://github.com/dereuromark/upgradeout. Am Montag, 30. September 2013 06:31:38 UTC+2 schrieb Reuben: The upgrades from 2.0 to 2.4 have been really smooth, so