# |
Aug 9th 2008, 05:22 |
AD7six |
Howard``: you'd be better off thinking about sharding etc. if/when you have to of course. |
# |
Aug 9th 2008, 05:22 |
Howard`` |
thanks AD7six, checking that and sharding out now |
# |
Aug 9th 2008, 05:21 |
achew22 |
hrm... |
# |
Aug 9th 2008, 05:21 |
AD7six |
achew22: yes |
# |
Aug 9th 2008, 05:21 |
achew22 |
AD7six: does deleteAll work? |
# |
Aug 9th 2008, 05:21 |
kaotisch |
Hey all, I have an issue with the Auth comp. When I add it as component in app_controller, and call any action (for example sadf.com/notes/view/ ), i should get redirected to sadf.com/users/login/ but instead i get redirected to sadf.com/notes/view/users/login and it ends up in an infinite redirect like sadf.com/notes/view/users/login/users/login/users/login. Anyone has an idea why this could happen? |
# |
Aug 9th 2008, 05:20 |
AD7six |
have a look at that as a starting point: http://trac.assembla.com/cake-base/browser/branches/sample_app/app/models/mi_email.php |
# |
Aug 9th 2008, 05:20 |
Howard`` |
I need to be able to reference this for the system |
# |
Aug 9th 2008, 05:20 |
Howard`` |
Basically quick references like who the e-mail belongs to, subject header, the to and from fields |
# |
Aug 9th 2008, 05:20 |
AD7six |
what associative records |
# |
Aug 9th 2008, 05:19 |
Howard`` |
well I want to be able to hold the associative records for users |
# |
Aug 9th 2008, 05:19 |
AD7six |
for emails - what benefit do you expect putting them in athe db. |
# |
Aug 9th 2008, 05:19 |
Howard`` |
is MySQL a good system to shard with or would you reccomend a different database? |
# |
Aug 9th 2008, 05:18 |
Howard`` |
I'm sort of wondering whether I should store the contents etc in the database or on the filesystem |
# |
Aug 9th 2008, 05:18 |
Howard`` |
Thanks AD7six, I'm building up the idea with cakephp .. it's going to be a heavy e-mail system |
# |
Aug 9th 2008, 05:17 |
AD7six |
Howard``: look up sharding |
# |
Aug 9th 2008, 05:17 |
Howard`` |
say I wanted to store millions of rows, how could I do that efficiently |
# |
Aug 9th 2008, 05:16 |
Howard`` |
I'm not sure how the whole load balancing thing works out |
# |
Aug 9th 2008, 05:16 |
Howard`` |
Does anyone know anything about spanning one database table across several servers? |
# |
Aug 9th 2008, 05:01 |
pgcd_away |
(cake1.2 and SWFU 2.1) |
# |
Aug 9th 2008, 05:01 |
pgcd_away |
quick question: i was under the impression that SWFUpload would "hijack" the file field defined in the form and do its thing, but it looks like it doesn't. Am i supposed to add a button and a div for the files list myself? |
# |
Aug 9th 2008, 04:51 |
darki |
i have three models: "Booking HASONE BookingInvoice" and "BankAccount HASMANY BookingInvoice" - how can i display data from BankAccount in my Booking-View? I tried everything but i come only till BookingInvoice |
# |
Aug 9th 2008, 04:45 |
kalileo |
ah ok, nevermind, bye |
# |
Aug 9th 2008, 04:45 |
kalileo |
ichsan: $this->Xobile->get_current_stock() would be another way, if you create the Xobile Model |
# |
Aug 9th 2008, 04:44 |
ichsan |
bye |
# |
Aug 9th 2008, 04:44 |
ichsan |
bya |
# |
Aug 9th 2008, 04:44 |
ichsan |
kalileo: thanks for your patient answering my question |
# |
Aug 9th 2008, 04:43 |
ichsan |
Ok, I that's fine. So that's how the CakePHP handle the second line. |
# |
Aug 9th 2008, 04:42 |
kalileo |
ichsan: $this->Medicine->get_current_stock('xobile'); |
# |
Aug 9th 2008, 04:42 |
ichsan |
Because, I already working on this instance of medicine, not that one |
# |
Aug 9th 2008, 04:42 |
ichsan |
kalileo: That gives me advantage because I hate to care about id. |
# |
Aug 9th 2008, 04:41 |
ichsan |
So, there is no way to implement the second line of my code snippet above other than using $this->Medicine->get_current_stock(4) ? |
# |
Aug 9th 2008, 04:41 |
kalileo |
ichsan: I just don't see why that would give you any advantage |
# |
Aug 9th 2008, 04:40 |
kalileo |
but that would be bypassing the cake functionality |
# |
Aug 9th 2008, 04:39 |
kalileo |
as you said at the beginning, you can instantaite a class using $xobile = new med... |
# |
Aug 9th 2008, 04:39 |
ichsan |
CakePHP can handle the first line by doing $this->Medicine->find(4) |
# |
Aug 9th 2008, 04:38 |
ichsan |
But how about the second one? |
# |
Aug 9th 2008, 04:38 |
ichsan |
I know CakePHP can do the first line |
# |
Aug 9th 2008, 04:38 |
ichsan |
$xobile->get_current_stock(); |
# |
Aug 9th 2008, 04:38 |
ichsan |
$xobile = Medicine->find_by_id(4); |
# |
Aug 9th 2008, 04:37 |
ichsan |
Is there any specific technique in CakePHP in handling Class method and an instance of a Class method? Like here in basic PHP |