# |
Sep 22nd 2011, 03:09 |
Section58 |
*time |
# |
Sep 22nd 2011, 03:08 |
Section58 |
have i set some sort of passtie |
# |
Sep 22nd 2011, 03:07 |
CSdread_ |
hi NetersLandreau |
# |
Sep 22nd 2011, 03:06 |
Section58 |
hey NetersLandreau guess what query i am doing :) |
# |
Sep 22nd 2011, 03:06 |
Section58 |
ACTION stretches |
# |
Sep 22nd 2011, 03:03 |
NetersLandreau |
but looking at php docs, it will not work (the way you propose, anyway) "After this operator, an identifier is provided, then a newline".. still very ugly code |
# |
Sep 22nd 2011, 02:58 |
NetersLandreau |
heredoc for sql? i don't know if it would work or not, but it sure is BUTT-UGLY |
# |
Sep 22nd 2011, 02:48 |
friskd |
i'm refering in particular to the <<<MYSQL |
# |
Sep 22nd 2011, 02:44 |
friskd |
so that you don't have to escape etc... |
# |
Sep 22nd 2011, 02:44 |
friskd |
Has anyone ever used this : $this->Model->query( <<<MYSQL some sql query MYSQL): |
# |
Sep 22nd 2011, 02:12 |
markstory |
) |
# |
Sep 22nd 2011, 02:10 |
mdunham918_ |
2.0 is so much prettier than 1.3 |
# |
Sep 22nd 2011, 02:10 |
mdunham918_ |
i've through almost every line of source code in 1.3 and 2.0 pre rc1 |
# |
Sep 22nd 2011, 02:09 |
mdunham918_ |
its almost like jQuery on a html site to me |
# |
Sep 22nd 2011, 02:08 |
mdunham918_ |
yes, indeed they do. |
# |
Sep 22nd 2011, 02:08 |
mdunham918_ |
were talking about database apps on a html site no way but anything with a database backend i use cake its just too convenient you'll end up writing the same code over and over |
# |
Sep 22nd 2011, 02:08 |
markstory |
they always start small and grow into an insane mess. |
# |
Sep 22nd 2011, 02:08 |
markstory |
exactly :) |
# |
Sep 22nd 2011, 02:07 |
markstory |
But you can paint yourself in a corner quickly. |
# |
Sep 22nd 2011, 02:07 |
mdunham918_ |
which i know the projects always end up bigger than a "simple database app" |
# |
Sep 22nd 2011, 02:07 |
markstory |
that might be true. |
# |
Sep 22nd 2011, 02:07 |
mdunham918_ |
no they say for the projects they work out a few simple php files will do the trick don't need a huge framework |
# |
Sep 22nd 2011, 02:07 |
markstory |
*the |
# |
Sep 22nd 2011, 02:07 |
markstory |
But judging a framework by he number of files is not very smart though. |
# |
Sep 22nd 2011, 02:07 |
mdunham918_ |
the designer has the strongest opinion and the half designer is the follower of the loudest guy lol then theres me |
# |
Sep 22nd 2011, 02:06 |
markstory |
filez. |
# |
Sep 22nd 2011, 02:06 |
markstory |
Take a look at zf or symfony2 |
# |
Sep 22nd 2011, 02:06 |
mdunham918_ |
he's our designer |
# |
Sep 22nd 2011, 02:06 |
markstory |
they are crazy. |
# |
Sep 22nd 2011, 02:06 |
mdunham918_ |
but that is there only complaint |
# |
Sep 22nd 2011, 02:06 |
mdunham918_ |
and its not like they are all loaded |
# |
Sep 22nd 2011, 02:06 |
mdunham918_ |
yes true |
# |
Sep 22nd 2011, 02:03 |
markstory |
all frameworks have a lot of files though. |
# |
Sep 22nd 2011, 02:03 |
markstory |
but that includes test files. |
# |
Sep 22nd 2011, 02:03 |
markstory |
I'm counting 840 files in cake2.0 |
# |
Sep 22nd 2011, 02:01 |
markstory |
mdunham918_: I bet more than half the files in cake are test cases. |
# |
Sep 22nd 2011, 02:01 |
markstory |
was reeetarded |
# |
Sep 22nd 2011, 02:01 |
markstory |
c |
# |
Sep 22nd 2011, 02:01 |
markstory |
that was 'controller' login |
# |
Sep 22nd 2011, 02:01 |
markstory |
I worked on a code base that had a 3500 line switch statement |
# |
Sep 22nd 2011, 02:00 |
mdunham918_ |
instead of controllers he used one big switch() statement hehe |