Yeah, having an optional parameter would be good. I'm old school in
that I assume NOTHING is cached unless I asked the application to do
it.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.li
On 1/23/07, Dr. Tarique Sani <[EMAIL PROTECTED]> wrote:
>
> On 1/24/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
> > As I understand it, requestAction simply returns a TRUE or FALSE
>
> FALSE :)
>
> $this->requestAction('/users/getUserList', array
'm wrong, and other people are sure to
correct me.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-
with CakePHP:
http://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/
Hopefully that helps you.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/att
t;
>
How about some benchmarks to back that up? jQuery just released a new
version that is MUCH faster than the old one.
I don't want to get into a "my javascript dick is bigger than your
javascript dick" contest, so provide some proof and I'll believe it.
I've used bo
setup. I've only ever
really done Application & Dataserver, and that has worked out quite
well.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/at
wrong...and I'm sure
someone will correct me if I am.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboa
r that row
* then you create the Ajax stuff that gets triggered when you click on
any item with that class
That should work.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballp
ow you where to
locate FPDF and hopefully provide you with some tips on how to
integrate it.
http://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial phot
then create an action
that responds to clicking on the entire div.
Hope that helps.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - htt
On 1/16/07, TT <[EMAIL PROTECTED]> wrote:
@Chris Hartjes : I have already built it (beta version). I totally
agree with you that you should not prematurely optimize. I am not sure
why you think I would do that :)
Experience has taught me that many programmers (not necessarily you)
rus
it first. Really. No, I mean it. Seriously.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~
make sure permissions are set properly (I use the firehose 777 for
my /tmp/cache because I'm lazy)
Hope that helps.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
the Ajax helpers. Not sure if
that's what you are running into.
Then again, I use jQuery now for my CakePHP-related Ajax needs and
always do my development work with DEBUG set to 1.
Hope that helps. Try deleting the stuff in the /tmp/cache directories
and see if it's causing the same
On 1/8/07, Samuel DeVore <[EMAIL PROTECTED]> wrote:
rdOpenSource and Cheesecake are good ones I think.
+1 on Cheesecake: Tarique and his crew have done a great job.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger h
h,
or you can do all your HTML by hand and have the flexibility you seek.
Luckily you can do both. Personally, I find that I prefer to use the
conventions wherever possible and build my application around those.
Just thought I'd give my perspective.
--
Chris Hartjes
My motto for 2007: "Just bui
yboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/
That might help you figure out the problem
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - htt
times
drops down into the code itself to answer questions I have. ;)
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@The
those to a
location that the forum sites could read. Nice and simple, no
database required because there was no need for retrieval at a later
date of older scores.
Hope that helps.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scaven
create the associations in your tables".
Hope that helps.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.li
On 1/4/07, nate <[EMAIL PROTECTED]> wrote:
http://us2.php.net/fgetcsv
Ugh. Of course.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@Th
also created the belongsTo relationship for Profile to User?
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.li
Sounds like I'm in the minority. ;)
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littleh
he structure of your application
may need to change. I'm trying to understand what it is you are trying
to accomplish here and would like some more info.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark -
erception demands that "on the fly" output a loop
generates. Reality points out you're doing a loop no matter what.
To accomplish "on the fly" output in the framework that matches
perception you're looking at DOM tricks with Javascript.
Just my opinion, mind you.
uld
be like this:
function pass() {
for ($i = 1; $i <= 3; $i++) {
$message .= "i is ". $i . "";
}
$this->set('message', $message);
}
Hope that helps.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you wil
nature block) you can
find a link to Felix's posting about it.
Hope that helps.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@Th
re
computer science thing, because I studied computer programming at
college (although it was 10 years ago now) and don't remember any
labels like that being applied. Maybe something is lost in
translation (I'm not assuming English is everyone's first language
here, even though it is min
ready know
those answers.
Google is your friend for finding PHP tutorials, and I highly
recommend any sort of "PHP for beginners" book you can get your hands
on.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@The
e things until you actually know you need. Premature
optimization lies on the path to developer madness.
You won't know what challenges your application will face until people
other than you are actually using it. ;)
Hope that helps.
--
Chris Hartjes
"The greatest inefficiencies come fr
On 12/27/06, phirschybar <[EMAIL PROTECTED]> wrote:
stay away from media temple.
I just signed up for an account with media temple on the
recommendation of somebody else, so I'd love to hear off-list why I
should stay away from them.
--
Chris Hartjes
"The greatest ineffici
ave an excellent online
tutorial on how to get it working with CakePHP:
http://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/
Hope that helps.
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Ra
s in development mode with SQL debugging output) and doublecheck
everything. I'm assuming that with all the caching happening that you
probably have debug set to 0.
Hope that helps.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
use
them if they're built in.
Hope that helps.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~
On 12/21/06, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
Thanks, I've just added your CakePHP feed to Google Reader.
-MI
Could you please add my blog to this as well? When I talk about PHP
it's usually CakePHP related.
http://www.littlehart.net/atthekeyboard/
--
Chr
at the "landing page" that you go to after
logging in is configured to work with an existing session? Showing us
some code is the 100% guaranteed way to diagnose this problem.
Redirects to a page that is not configured to be using a session is
100% guaranteed to not be able to rea
app in it's old location and your app in it's new location.
Maybe you'll find that you've forgotten to set something in the new config
Hope that helps.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
gic_quotes
option that can be turned off or on that automagically escapes
form-submitted data.
Personally, I prefer to turn that off to (a) have better control of
the filtering of incoming data and (b) avoid any nasty surprises
involving the data when it comes in.
Hope that helps.
--
Chris Hartj
n IE7, then that is the responsibility of whomever built
that site. There is nothing in the CakePHP *framework* that is
browser specific.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.n
work-related sites work properly with.
On a related note, I suggest people surf around Yahoo!'s YUI blog and
dig out the postings where they talk about what browsers they support
and how fully they support them. Striving to match them is probably a
good idea.
--
Chris Hartjes
"The grea
if (is_array($start_members)) {
foreach ($start_members as $site_id => $data) {
$members[$site_id] = $finish_members[$site_id]
- $start_members[$site_id];
$threads[$site_id] = $finish_threads[$site_id]
- $start_threads[$sit
On 12/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I wanna use session to trace the user who login in .
>
> but I have no idea how to cuz the manual about this subject is simple.
>
> can anyone show me some example or links about it
>
> have a nice day
ww
e past but my spare time isn't so spare any more).
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~-
As a last point of reference for this thread, I found a posting by
Felix on his blog about doing this sort of thing with models. Maybe
it is applicable to controllers?
http://www.thinkingphp.org/2006/09/17/dessert-9-graceful-error-handling/
--
Chris Hartjes
"The greatest inefficiencies
t trapping the errors that CakePHP itself generates.
I've never done anything like that, so I couldn't tell you where to
start.
Hrm...sounds like a topic for a blog post in the next few days. :)
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you
of heart) for sure. :)
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---
ller needs to know the actions of another?
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~--
I could be wrong.
Follow ALL the instructions, and if it's still not working get back to
us. We do like to help people, but the instructions are usually
enough to get things up and running.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never ha
result?
>
Have you created all the belongsTo and hasMany relationships that you
need to link the two tables together?
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http
On 12/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Chris Hartjes wrote:
> >
> > I've never heard of those terms before. "Optimistic/pesimistic
> > locking" sounds like a function of the database itself to me, and not
> > the responsibi
said that, there's nothing stopping you from submitting a patch
for this if you really want to see it. Unless you want someone else
to do it for you.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark
king" sounds like a function of the database itself to me, and not
the responsibility of code.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboar
gt; - can cakephp scaffolding be easily setup to hide specified fields?
>
> Any help appreciated. Thanks in advance.
>
Have you actually read the manual for CakePHP yet? All those
questions are answered there.
manual.cakephp.org
Hope that helps.
--
Chris Hartjes
"The greatest ine
d there. DEBUG 0 causes Cake
to cache a lot things, and this can cause problems if you switch
between DEBUG 0 and DEBUG 1 while developing.
Personally, I do all my development work with DEBUG set to 1.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will n
do and it doesn't work, is that a bug? Or is
that a constraint of that piece of code?
I have never used an SQL view and would love to see a real-world
example of when a view should be used over, say, the CakePHP model
combined with associations.
--
Chris Hartjes
"The greatest ineff
if you need it soone rather than later, otherwise I will post a
> link in the bin to this thread shortly.
Hey gwoo, that worked perfectly. Thanks so much.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBa
x27;t appear to fit that bill, but that's
perhaps because I haven't wrapped my mind around how to do it.
I guess my question is this: how do I fire off a controller/action
pair via a CLI script?
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you wil
I've been using Felix's awesome Google Analytics model to create some
reports on the forum sites my employer owns. However, I'm wondering
if it's even possible to create a CakePHP app that can be run as a CLI
app as a cron job...
Any thoughts on how to accomplish this?
--
On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote:
>
> and the like would be
>
> <http://blog.samdevore.com/archives/2006/11/29/quick-and-dirty-getting-your-cakephp-to-rest/>
>
Hah! Beat you to it. :)
--
Chris Hartjes
"The greatest inefficiencies come from
eb-service-support/
Then I will go over to trac and make an entry about this.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@The
and post the
whole damn thing to my blog. I'll be giving you a shout-out as well.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - h
(Note that I have debug set to 1 during these examples)
When I go to localhost/xml/test I get the following output:
This is a test of built-in web services
So, looks like I managed to get it working. I hope this helps people
out who are trying to figure out how to use Cake
cakephp.org and READING the manual.
We really need an FAQ that we can point people to.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheba
u some tips for keeping publicy-available data
safe from prying eyes.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard
"generic" database view handlers. That's all.
I've never used views, but obviously they have a time and a place.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.l
tic, and building in exceptions for a specific database
should be kept to a minimum.
Just my opinion.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard
On 11/16/06, Ismael S. Kafeltz <[EMAIL PROTECTED]> wrote:
>
> it is valid to open a ticket to put this information on the
> documentation?
>
>
>
It's in the API, so I'm not sure it also belongs in the documentation.
Never hurts to read the API. :)
em.
Thought that was pretty obvious. ;)
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~-
caching for static content
4) opcode caching
Speaking as someone who helped build a huge online dating site (300K+
lines of code spread across more than a dozen web servers) I can tell
you that PHP code is usually the last place where you worry about
performance.
--
Chris Hartjes
"The
hink the so-small-you-will-never-notice-it delay in writing
information to log files will be the least of your problems. :)
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/at
d with
Zend Framework to great success.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http:
te them into different tables, but would
> it be that bad?
>
The road to maintainability hell is paved with good intentions... :)
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart
777 except for tmp ?
>
>
You should do a recursive chmod on the tmp directory
chmod -R 777 tmp/
and that will fix the problem. Everything in tmp should be 777 in my opinion.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have.&q
>
> 777 means that anyone who has an account on the system can change these
> files, changing the content of your website!!
>
True, but if you only give it to the tmp directory in your Cake
install, they can't really do much to change the content of your
website.
--
Ch
perly.
All the common security problems like XSS, cross-domain scripting and
SQL injection are easily solved by the programmer. Expecting Cake to
do it for you is being lazy.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus
it out to be.
Have you also looked at this page:
http://manual.cakephp.org/chapter/configuration
There is an example of how to build a web service down at the bottom
of the page.
Hope that helps, and I'll let the list know when I've gotten my simple
example of an XML-RPC service up and
p;hl=en&gl=ca&ct=clnk&cd=1&client=firefox-a
I suggest to ALL readers on the list that if they are ever searching
for an article via google and the link doesn't appear to be loading,
try the cached copy.
--
Chris Hartjes
"The greatest inefficiencies come from solvi
s. It has
been my experience that once you tie yourself to a particular database
server you can never go back.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.l
ave this working? Can anyone offer me advice?
>
> Thanks!
> hydra12
I'm assuming you've looked here:
http://subclipse.tigris.org/svnant.html
and I think this thread should be very helpful to you as well
http://svn.haxx.se/subusers/archive-2006-10/0251.shtml
Hope that he
h is likely a topic way beyond the
capacity of most of the people who are on this list.
I know it's not much of an answer, but that's the most likely scenario.
Perhaps Nate and PHPNut can suggest something, but I suspect their
answer would be the same as mine.
Hope that helps, and go
've posted above, if you call
/things/xmlrpc_doSomething in a browser we should see 'blah' outputted
in the browser window.
Other than this, I suggest that if you haven't already done so, set
DEBUG to 1 in order to prevent Cake from caching anything.
Hope that helps, and I
;ve always found that computers like to do what you tell them, not
what you think you've told them. :)
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littleh
On 11/6/06, Synchro <[EMAIL PROTECTED]> wrote:
>
> On Nov 6, 1:29 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> > Have you ever built one before but not with a framework? The concepts
> > are actually quite simple.
>
> I've built SOAP inte
> work, nor have I found any examples for any web services.
>
> As an aside, is the round-trip time in these groups always this bad?
> It's 8-12 hours for me.
>
>
Have you ever built one before but not with a framework? The concepts
are actually quite simple.
--
Chris Hart
t; {
> $this->set('feeds',$this->Rss->findAll());
> }
> But How to do the view fiels?
>
> Thanks
http://manual.cakephp.org/chapter/views
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have.&qu
ou understanding
what is going on.
Yes, I am cranky this morning.
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboa
on how to do this?
>
>
You don't need a tutorial. Just install Ruby on the target server via
whatever method is available to you, be it by source, package or
one-click installer. You don't need Apache at all to use Ruby.
Am I missing something here?
--
Chris Hartjes
"The
On 10/30/06, Nextri <[EMAIL PROTECTED]> wrote:
>
> is there a way to see load time when in production mode?
>
You can get that from your web server logs, can you not?
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have
, as it's just a programming
language. Rails is the web framework that sits on top of Ruby.
So, the short story is this: you can use Capistrano without
configuring your web server to support Ruby on Rails.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you w
.com
So, you have this code here:
...
So, when the user submits they go to domain2.com/process.phpand
stays at domain2.com/process.php
Or am I missing something, because this looks like 'web forms 101' to me.
--
Chris Hartjes
"The greatest inefficiencies come fro
On 10/27/06, cherrio <[EMAIL PROTECTED]> wrote:
>
> would there ever be a circumstance where HABTM association isn't
> bi-directional? If so, any example?
>
> Cheers,
> Rob
Wouldn't that be hasMany or belongsTo then? ;)
--
Chris Hartjes
"The greatest in
AIN1.
If you don't know what a 'header redirect' or how to do it with PHP,
then I suggest you look it up on google.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littl
On 10/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I have some confuse how does the media played in the web page like
> YouTube.com
> Who can tell me how does it implement?
> Need to use any script?
As far as I know, YouTube's media player is flash.
--
Ch
bjects instead of arrays.
Rails does it as well, so maybe I'm calling it by the wrong name.
It's a design decision when you build you objects, for sure. Me, I'm
a "let's return everything as associative arrays" type of guy.
--
Chris Hartjes
"The greatest ine
.
$Contact['Contact']['lastname'] . ' has been removed.');
$this->Session->setFlash($Contact['Contact']['firstname'] . ' ' .
$Contact['Contact']['lastname'] . ' has been removed.');
I haven
On 10/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I think actually looking at the code won't help much. It's a pretty
> simple model.
>
I think actually looking at the code is the easiest way to fix the
problem. But maybe that's just me.
is there a more formal
> approach for authorization ?
I'd do it in the session. Makes total sense.
Hope that helps.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http
ture
available in Rails.
> - join models
Not sure.
> - the migration DSL (in fact, all of Rails' DSLs, including but
> not limitied to the Model DSL)
There's no migrations...but that would be an interesting project.
Maybe I should look into this as it would be something v
factoring of an existing
application (Rails, not CakePHP) and have to make some decisions about
this very topic.
Greatly appreciated.
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www
27;t follow their own documentation on what content is presented
--
Chris Hartjes
"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--
1001 - 1100 of 1221 matches
Mail list logo