Re: Clean Cake 1.1 sigfaults apache2

2007-11-05 Thread Felix Geisendörfer
Hey MaxDao, what PHP version are you on? -- Felix -- Blogger: http://www.thinkingphp.org/ Entrepreneur: http://www.posttask.com/ /-- currently in private beta, ask me for invite / password/ Freelancer: http://www.fg-webdesign.de/ AIM:theundefined87 Skype: TimeFor23

Re: Model Associations Misbehave (very interesting)

2007-11-04 Thread Felix Geisendörfer
Hey, var $belongsTo = array('Usuario' = array('className' = 'Usuario', 'conditions' = '', 'order' = '', 'foreignKey' = 'poster_id'

Re: MVC architecture

2007-10-31 Thread Felix Geisendörfer
Isaac Raja wrote: RTFM Excuse Isaac. What he probably meant to say was that you have not asked a question and ignored some basic politeness standards like including a please into your message. But then again, he didn't seem to have this politeness going on for himself so let me give it a try.

Re: pretty-print (indent) view output

2007-10-18 Thread Felix Geisendörfer
You heard of Firebug? -- Felix Rex wrote: Hi, I see that in cakephp a view output is not properly indented. This makes it very difficult to debug a problem. I suggest that all cakephp (HTML) output should be indented properly so that when we try to view-source using mozilla, we get a

Re: How to run a background process in CakePhp

2007-10-17 Thread Felix Geisendörfer
You might want to check out this extension if you you need things like this: http://www.vl-srm.net/doc/ However, you find it easier to have a queue table that is processed by a cron executed script for your background processing needs. -- Felix -- My Blog:

Re: JQuery or Prototype

2007-10-02 Thread Felix Geisendörfer
jQuery, jQuery, jQuery. Google would not be able to provide adequate amounts of space for me to write up a complete list of reasons why jQuery is the best library out there and it would probably also cause your mail client to crash ; ). So just trust me when I say that there is no JS library

Re: How to access a controller action from an application not in cakephp structure

2007-09-23 Thread Felix Geisendörfer
Give this a try: http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-technique/ -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de zonium wrote: I have 2 applications: - appA is built with cakephp 1.2 and - appB

Re: Posting a form with a regular link

2007-09-21 Thread Felix Geisendörfer
I've started doing the following. If the delete action is called using GET then I'm serving a Are you sure you want to delete item X? page which has a form and a submit button to it. When JS is enabled then my delete link has an onclick event that pops up a JS confirm() modal and then sends

Re: Complex Ajax question.

2007-09-19 Thread Felix Geisendörfer
DGPhoebus, 1. Use jQuery. If you love CakePHP and write your own JS (not using the cake helpers) then this is the way to go, trust me ; ). 2. Echoing some text in a cake action w/o rendering a view is done using: $this-autoRender = false; echo 'My text'; inside your

Re: Is this error related to PHP version?

2007-09-16 Thread Felix Geisendörfer
If the code you pasted is the exact code you are using you are missing the ''. Code should be: if ($this-User-save($this-params['form')) Oh and you are also missing the ']' for accessing the params array, so try this: if ($this-User-save($this-params['form'])) -- Felix

CakePHP @ php|works

2007-09-12 Thread Felix Geisendörfer
Hey folks, since php|works is beginning tomorrow I was wondering if we could have a little informal CakePHP meetup there if people would be interested. It would also be nice if some people could attend Paul M. Jones benchmarking talk as he is looking for feedback from developers using the

Re: CakePHP @ php|works

2007-09-12 Thread Felix Geisendörfer
the meetup? I am about 3 1/2 hours drive and might be able to make a trip to be there. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 9/12/07, *Felix Geisendörfer* [EMAIL PROTECTED] mailto:[EMAIL

Re: Editor x CakePHP

2007-09-08 Thread Felix Geisendörfer
[x] Textmate -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Chris Hartjes wrote: On 9/8/07, Zoltan [EMAIL PROTECTED] wrote: There's a few that provide at least syntax highlighting - NotePad++ is a good lightweight, Opensource app.

Re: Managing a Cake project with SVN

2007-09-07 Thread Felix Geisendörfer
Other than changing an app directory and database settings, is there anything I should know about that could cause the site to operate on one PC but not another? Cache/temp files? Anything that's environment- dependent? Yes, you need to give write permissions to the tmp directory if you run

Re: problems with midphase hosting

2007-09-03 Thread Felix Geisendörfer
I was using cpanel with Apache 1.3 I happen to run the same setup on my VPS right now and do not have any of those problems. So I'm not sure what is going on there. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Alvaro wrote:

Re: Cake Mysql UTF-8 :(

2007-09-01 Thread Felix Geisendörfer
You should also send a HTTP header indicating your content is served as UTF-8. I think IE needs that under circumstances. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de MrG wrote: I solved my problems with UTF-8 by using this

Re: Cake CPU hungry

2007-09-01 Thread Felix Geisendörfer
(i.e. 20 users holding down on your front page or some other action is very different from each of them doing different things) Yeah, I'm taking a closer look on xdebug, I will post some results if I manage to run it. Ups, I meant to write 'Holding down F5 on your front page here, but

Re: Cake Mysql UTF-8 :(

2007-09-01 Thread Felix Geisendörfer
Business: http://www.fg-webdesign.de Mech7 wrote: Ok so in my layouts i would have to have: ?php header('Content-Type: text/html; charset=utf-8'); ? Or is there a better way that it will always get used automatically with any layout ? On Sep 1, 2:58 pm, Felix Geisendörfer [EMAIL

Re: Weird slowness problem.

2007-08-31 Thread Felix Geisendörfer
This may be a stupid question, but have you tried how long a fresh cake install takes to load? This would help to determine if the problem could be within your app. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Langdon

Re: Cake CPU hungry

2007-08-31 Thread Felix Geisendörfer
I'm using expects(), it's pretty handy. My problem might be loading lot of models but still 'pages' doesn't load any models. Do you know that for sure? If you lets say load the Users model in AppController, then it is more then likely that *all* of your other models are loaded b/c they are

Re: HTTPSocket Basic Auth

2007-08-16 Thread Felix Geisendörfer
Authentication / SSL are unfortunately not implemented in HttpSocket yet. However, both have very high priority in terms of being implemented soon. file_get_contents() uses PHPs built-in support for streams and authentication. -- Felix -- My Blog:

Re: Cake Url Alias - anyone used it before?

2007-08-08 Thread Felix Geisendörfer
I'm the one who wrote that post. By now there are better solutions available to handle this problem. I'd suggest to check out the AppError class and how you can use it to catch the missingController error. You will however need to take care of recursion yourself. -- Felix

Re: Need: CakePHP Contact Form Need Please

2007-07-27 Thread Felix Geisendörfer
Now I give you a couple of lessons of Italian. Haha, I didn't know I was fluent in Italian - good to know : P. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de cakeFreak wrote: Baz, come on, you getting a bit EXTRA-lazy here.

Re: Mambo to use CakePHP for V5

2007-07-25 Thread Felix Geisendörfer
upon when reaching for the cookies in the top-drawer ; ). So welcome Mambo developers and community - this truly is great news for all of us bakers out there! -- Felix Geisendörfer -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de chanh.ong

Re: Having trouble with RequestHandler...

2007-07-24 Thread Felix Geisendörfer
IIRC, some firewalls will strip extra http headers. I heard you mention this before, but can you provide more information then this generic kind of FUD ; )? -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de R. Rajesh Jeba

Re: Where to find a great cake baker?

2007-07-23 Thread Felix Geisendörfer
http://www.withcake.com/companies/ -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de objectfetish wrote: I'm looking to hire a very experienced Cake PHP programmer to work on a project - where's the best place to post?

Re: Heavy loaded sites

2007-07-20 Thread Felix Geisendörfer
I am wondering does anybody know a Cake based sites with a lot of traffic? A kind of big sites. And how good and fast Cake behaves with such conditions? No all traffic goes to: http://groups.google.com/groups/search?q=cakephp+high+traffic for some reason these days ... : / -- Felix

Re: Heavy loaded sites

2007-07-20 Thread Felix Geisendörfer
Maybe I should have phrased my last post differently: * *CakePHP is not an application*, it's a framework * You can build applications with CakePHP * How well those applications perform is largely the responsibility of the developer * Looking at other big cake site tells you

Re: Workflow engine for cake

2007-07-20 Thread Felix Geisendörfer
I'm developing such an engine right now. It allows the company to take the items from their orders through different steps from order processing, to production to shipment. All steps require different stuff to be done to the items, certificates to be printed out, etc.. So yes you can do this

Re: db table design

2007-07-19 Thread Felix Geisendörfer
The primary key is the combination of the 2 fields. Don't do that. Give it an id. It will make your life *much* easier. It will allow you to create a model for you join table and easily model relationships

Re: db table design

2007-07-19 Thread Felix Geisendörfer
francky06l wrote: @Felix, yes you right for cake 1.2, sorry On Jul 19, 4:24 pm, Felix Geisendörfer [EMAIL PROTECTED] wrote: The primary key is the combination of the 2 fields. Don't do that. Give it an id. It will make your life *much* easier. It will allow you to create a model

Re: PHP 4 = Dead

2007-07-13 Thread Felix Geisendörfer
PHP 4 = Dead We'll talk in 2 years again when PHP4 is still holding the major market share. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Mech7 wrote: Well allmost in december it is no longer supported. http://php.net/

Re: You are seeing this error because the layout file can't be found or doesn't exist.

2007-07-11 Thread Felix Geisendörfer
Have you read the manual, gone through the 15 min blog tutorial. Both are pretty clear on what and where Views are. Come on, do at least a little research, this is one of the basic premises of CakePHP. Come on, one good deed a day [multiply with x^n for additional grumpiness - ask your

Re: Digg (Pligg) CakePHP clone?

2007-07-09 Thread Felix Geisendörfer
I know there was a cake-php based german digg clone, that was up for auction on ebay recently, but other than that, haven't seen anything It was a twitter clone as far as I remember. But really: Stop cloning this stuff ... the world doesn't become a better place ... there isn't any money to

Re: Some musings after using Bake for a medium-sized app

2007-07-09 Thread Felix Geisendörfer
I use bake to generate the shells for everything I want to do now. Bake can generate shells? -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Chris Hartjes wrote: On 7/9/07, Grant Cox [EMAIL PROTECTED] wrote: I do a similar

Re: Deep associations (hasMany)

2007-07-07 Thread Felix Geisendörfer
I have this relationship: Project - Customer - Address. When I do a read() on the project and it pulls out the customer details, I would like it to load the Address details as well. Is this possible at all with the CakeAPI? This is a friendly RTFM reminder:

Re: Ajax form - multipart/form-data

2007-07-02 Thread Felix Geisendörfer
Ajax itself does *not* allow file uploads. Consider: * jQuery form plugin http://www.malsup.com/jquery/form/: Transmits files via hidden iFrame * swfUpload http://swfupload.mammon.se/: Uploads file via flash I yet have to find flash solution that provides me with an API for file

Re: Ajax form - multipart/form-data

2007-07-02 Thread Felix Geisendörfer
://www.thinkingphp.org My Business: http://www.fg-webdesign.de Felix Geisendörfer wrote: Ajax itself does *not* allow file uploads. Consider: * jQuery form plugin http://www.malsup.com/jquery/form/: Transmits files via hidden iFrame * swfUpload http://swfupload.mammon.se

Re: How do you manage your re-usable snippets or modules ?

2007-07-02 Thread Felix Geisendörfer
I usually let things repeat themselfs until I feel it's more trouble then it's worth. This way I can refactor patterns / components / models / whatever when I actually *know* I need them repeatedly and not if I just *think* I might. Trying to have everything at a maximum re-usability level is

Re: Bad choice of Variable Name $db

2007-06-27 Thread Felix Geisendörfer
since both cake and phpbb are essentially php apps that include the world Now something is inversed here ... Maybe that's the key to your scoping issue. Seems like the only strategy is to search and replace all code around $db ... ; ). -- Felix -- My latest blog

Re: dukudu.de made with CakePHP

2007-06-26 Thread Felix Geisendörfer
Why do people do clones of highly successful sites? Guess we reached Peak-German-Engineering : /. VW's are made in Mexico, Duduku copies twitter and let's not get into politics either. Anyway, the reason is easy $$$. Another example of fellow Germans playing the copy-cat game:

Re: is there a separate manual for 1.2

2007-06-19 Thread Felix Geisendörfer
because things work very different that 1.0 did and I am confused. How do I bake with 1.2 CakePHP 1.2 is not officially released yet and there is no official support for it. A new manual is in the works but not released. So if you are new to the kitchen - stay with 1.1. And regardless, in

Re: cake PHP applications in real-world deployment

2007-06-18 Thread Felix Geisendörfer
do you have any sources for that info? just curious, as the addons site has been in existence for quite awhile, i'd be surprised (as well as impressed) if it were truly based on cake Well let's see. The source of the addons site is available here: http://svn.mozilla.org/addons/trunk/site/ And

Re: Behaviors for Cake 1.1.x

2007-06-17 Thread Felix Geisendörfer
If you only deal with behaviors that interact with primaryModel's before / afterFilters then it should not be too hard to port single behaviors to your app. I'm actually in the same situation and will be working on it at some point soon so I'll let you know how it goes. -- Felix

Re: cake, json, and extjs

2007-06-14 Thread Felix Geisendörfer
Try: echo '{totalCount:11, Contacts:',$javascript-object(Set::extract($data, '{n}.Contact'),false),'}}; -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de das88 wrote: I'm using cake with the extjs javascript library. JSON often seems the glue to put

Re: Sending an php array value to an javascript array

2007-06-13 Thread Felix Geisendörfer
Also check out: JavascriptHelper::object(...) -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Chris Hartjes wrote: On 6/13/07, clarkvr [EMAIL PROTECTED] wrote: Please, can anyone give an example, I'm trying without sucess.

Re: Show cake output in normal PHP page

2007-06-12 Thread Felix Geisendörfer
Quick and dirty: http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-technique/ Then do: $Dispatcher = new Dispatcher(); $content = $Dispatcher-dispatch('/controller/action'); -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Aldo

Re: CakePHP php5?

2007-05-29 Thread Felix Geisendörfer
That guy needs PHP4, this host needs PHP4, but no one is saying that I need a PHP4 support. This is the same scenario happened when PHP4 is released. It's always better to move upwards whether it's PHP or CakePHP (how many people are going to stick to 1.1 for instance?) You *really* need

Re: Issue on software design / good practice

2007-05-25 Thread Felix Geisendörfer
Here is one of my favorite approaches to this is do use static function calls on Models: - class User extends AppModel { function name($user) { if (isset($user['User']) {

Re: Yet another question on Routing

2007-05-24 Thread Felix Geisendörfer
Here is a rather hackish snippet that might help you. Put this in your bootstrap.php: function listControllers($underscored = false) { uses('Folder'); $Folder = new Folder();

Re: CakePHP Component with Constructor parameters - How do I Instantiate?

2007-05-15 Thread Felix Geisendörfer
I don't think you are trying to write a component. Put your file in /app/vendors/my_class.php, load it via vendor('my_class'); and work with it as you normally would with any class. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Humble Groups wrote:

Re: URL issue

2007-05-09 Thread Felix Geisendörfer
Not really a CakePHP specific question. But today is your lucky day. A) I'm looking for any kind of excuse to not study for my physics final tomorrow. B) I like playing with array, regex and urls : ). So here you go:

Re: isAjax() - how do I use?

2007-04-18 Thread Felix Geisendörfer
FWIW, I personally feel isAjax is quite unreliable (when under Firewall) as it depends on HTTP_X_REQUESTED_WITH header. bare/ajax would be ideal, IMHO. Hm? What Firewalls are filtering out HTTP headers? Is that some sort of anonymous feature? If you ask me this sounds really bad and

Re: isAjax() - how do I use?

2007-04-18 Thread Felix Geisendörfer
://www.thinkingphp.org http://www.fg-webdesign.de R. Rajesh Jeba Anbiah wrote: On Apr 18, 6:30 pm, Felix Geisendörfer [EMAIL PROTECTED] wrote: FWIW, I personally feel isAjax is quite unreliable (when under Firewall) as it depends on HTTP_X_REQUESTED_WITH header. bare/ajax would be ideal

Re: Prevent redirect in unit test

2007-04-14 Thread Felix Geisendörfer
Yeah, check out partial mocks in the SimpleTest docs. All you need to do is to create one of those for the controller you are overwriting in order to mock the 'redirect' function. You can even assert eh redirect is executed by putting in: $this-Controller-expectOnce('redirect'); Let me know

Re: Proposal for killer app

2007-04-10 Thread Felix Geisendörfer
Nice morning read ... Normally I'd argue for a don't feed the trolls-policy but I guess in nate's case an exception has to be made ; ). I know nothing in my RSS reader is going to crack me up as good as nate just did ; ). -- Felix -- http://www.thinkingphp.org

Re: Scary associations with recursive calls

2007-04-09 Thread Felix Geisendörfer
I've used expects() and in my opinion, should become a core feature of CakePHP. It feels a lot more natural than the bind and unbinding of associations. It's succinct. And because it's built on top of the bind/ unbind approach, you can still use it if necessary. +1. I could not imagine

Re: Two Applications sharing Models

2007-04-06 Thread Felix Geisendörfer
If both apps are running on the same machine which I assume, you should be able to simply put the Models in one application and then go to /app/config/bootstrap.php and create a: $modelPaths = array('full path to models', 'second full path to models', 'etc...');* *array where you add the

Re: Unit Testing Emails

2007-04-05 Thread Felix Geisendörfer
Another thought about Unit testing emails: One should not actually test for mails being actually sent on application testing level. Testing that the EmailComponent works correctly should be part of the core tests. Afaik those do not exist yet, but if somebody is looking into writing code that

Re: Unit Testing Emails

2007-04-04 Thread Felix Geisendörfer
Haven't tried it, but this is the CGI / Python solution advocated by the SimpleTest folks: http://www.lastcraft.com/fakemail.php -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Zach Cox wrote: Turns out it's pretty easy to roll your own sendmail

Re: Writing Model Tests 1.2

2007-03-28 Thread Felix Geisendörfer
Hey Diona: try if you can replace: require_once LIBS.'model'.DS.'model.php'; require_once CAKE.'app_model.php'; require_once APP.'models'.DS.'tank.php'; with: loadModel('Tank'); I think that could save you some work ; ). -- Felix -- http://www.thinkingphp.org

Re: Update from 1.1 to 1.2 question

2007-03-21 Thread Felix Geisendörfer
1. Cake echos the controller name called and messes up my layout. Where is the code that is doing this? No idea. Sounds like a debug statement left in somewhere but I think that's unlikely (never seen it happen before). But maybe someone else can help you on that. 2. I get errors about

Re: Does Cake's array conventions mean Low Orthogonality/Cohesion

2007-03-21 Thread Felix Geisendörfer
I'm looking for someone to give me a hug and tell me everything will be ok. I'll go ahead and do this: *hug* Regarding your topic: I think you are getting a little paranoid here. Yes high coupling is something you want to avoid. Coupling itself however is not your enemy, it's how you write

Re: Problems with Auth Security hash's, all gone weird.....

2007-03-15 Thread Felix Geisendörfer
and the passwd one will already be hashed for you by the component. Let me know if this get's you up to speed ; ). -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de digital spaghetti wrote: Felix - After I submitted a trac, i had a play

Re: FTP Component for Cake

2007-03-12 Thread Felix Geisendörfer
That's a Bake task, not a component. True, but the FTP class should work independent from the bake stuff so it might be helpful anyway. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Mariano Iglesias wrote: That's a Bake task, not a component.

Re: Element Caching

2007-03-08 Thread Felix Geisendörfer
So, its not possible in 1.1 or current versions of 1.2. Which doesn't mean that you can't get this going anyway. Your main performance concern is probably querying the db and building the array needed for your navigation element, right? So in that case you can use CakePHP's cache() function

Re: Turn off all http headers

2007-03-02 Thread Felix Geisendörfer
Maybe I'm an idiot, Well ... just kidding - I love your stuff ; ). But what I doubt is that the header that phil copied was sent by CakePHP: GET /userAdmin/reports/createExcel HTTP/1.1 Host: useradmin.dev.web.mpc.local User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1) Gecko/

Re: Recursive model

2007-02-26 Thread Felix Geisendörfer
Try naming the hasMany study 'ChildStudy' and the belongsTo 'ParentStudy'. That should work. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Martin Schapendonk wrote: Hi there, Using CakePHP 1.2 (r4451). I have a model Study that references itself

Re: Recursive model

2007-02-26 Thread Felix Geisendörfer
the exact API I assumed you'd figure it out ^^. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Martin Schapendonk wrote: 2007/2/26, Felix Geisendörfer [EMAIL PROTECTED]: Try naming the hasMany study 'ChildStudy' and the belongsTo 'ParentStudy

Re: Application version control - including Cake core and any modifications

2007-02-19 Thread Felix Geisendörfer
of current development and as I said I recommend it for everybody else out there. -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de AD7six wrote: On Feb 19, 12:23 pm, AD7six [EMAIL PROTECTED] wrote: On Feb 19, 12:00 pm, Grant

Re: cake and gzip http compression

2007-02-15 Thread Felix Geisendörfer
I've played around with this some time ago, see: http://www.thinkingphp.org/2006/07/16/issues-with-output-buffering-in-cakephp/ -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de fredBH wrote: Hi everyone! Somebody test

Re: is there a function exist($var) somewhere that I didn't find?

2007-02-14 Thread Felix Geisendörfer
Or the quick and dirty: echo @$var; Not that I recommend it as a good practice, but sometimes it's just handy ... ; ). -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de mariano.iglesias wrote: function getvar($var

Re: Regular Expression to find content inside a tag pair

2007-02-14 Thread Felix Geisendörfer
How does SimpleXML or DOMDocument-loadHTML performance in term of simply finding certain form elements? Is there a requirement in installation of PHP? There is almost no chance for it to be faster then a specific regex, afaik. -- Felix Geisendörfer aka the_undefined

Re: Regular Expression to find content inside a tag pair

2007-02-13 Thread Felix Geisendörfer
Off the cuff I'd say: /form.*(.*)/form/iUs. Most important are the modifiers: * i: Makes sure upper/lower- case are ignored (some people might use FORM) * U: Makes sure that all quantifiers are ungreedy, meaning that they'll try to match the least amount of data only * s:

Re: why use jQuery instead of Prototype

2007-02-12 Thread Felix Geisendörfer
is the most efficient library with no one to touch it out there. Hope that clarifies things ... -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de the_woodsman wrote: However, I highly doubt that YUI is more efficient at selector

Re: Sending emails

2007-02-12 Thread Felix Geisendörfer
['name'], etc. ... Let me know if this helps, -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de thequietlab wrote: hi everybody, I'm kind of new to cakephp and from time to time I drown into some problems :) Now I stucked

Re: why use jQuery instead of Prototype

2007-02-10 Thread Felix Geisendörfer
the best tool for the job. -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de the_woodsman wrote: Sorry to politicize/evangelize, but I noticed no-one's mentioning the Yahoo UI. I'm not an expert in al the Javascript libs, so

Re: mailing problem

2007-02-04 Thread Felix Geisendörfer
: http://www.arcorhome.de/newshamster/tgl/ -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de pkoch52 wrote: i am new to php and just joined your group. i try to run example from php manual: ?php $to = '[EMAIL

Re: A Super Release

2007-02-04 Thread Felix Geisendörfer
By custom I ment habit. It is late and custom sounds too much like costumbre (habit in Spanish) I think those two words end up having pretty much the same meaning in your context anyway ; ). -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Mariano

Re: .ctp extensions

2007-02-02 Thread Felix Geisendörfer
attacks. If you however also have file read/write commands in there (you really shouldn't!), it would also allow to modify data on your server. To me scenario #2 is worse then #1. But maybe others have different opinions on the topic. -- Felix Geisendörfer aka the_undefined

Re: .ctp extensions

2007-02-02 Thread Felix Geisendörfer
In your AppController: var $ext = '.php'; Didn't read then before writing my previous post. That's of course an even better solution ; ). -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Larry E. Masters aka PhpNut wrote: In your AppController:

Re: Integrating with other systems

2007-01-19 Thread Felix Geisendörfer
Hey Foofy, if they share function names - you are out of luck. Not in the sense that you won't be able to use CakePHP and Wordpress together, but in the sense that you won't get around renaming the functions in one of both systems. The best thing to handle the update scenario is to use a SVN

Re: CakePHP 1.1.11.4064, thawed and redelivered better than before.

2007-01-12 Thread Felix Geisendörfer
Hey Martin, vendor branching means that you *do not* use svn:externals but update the vendor branch manually from time to time yourself. This page has all information about this process: http://svnbook.red-bean.com/en/1.1/ch07s05.html Let me know if that helps, -- Felix Geisendörfer aka

Re: Rock the vote!

2007-01-09 Thread Felix Geisendörfer
Am I the only one how thinks the Symfony framework http://www.symfony-project.com/ is not spelled Sympony? Maybe the framework is not as popular as CakePHP (according to this vote), but I think they are well known enough so that polls should at least spell their name properly ... -- Felix

Re: cakephp 1.2 - ready to fly?

2007-01-08 Thread Felix Geisendörfer
) you have to keep in mind that it adds a little overhead to your development. -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de gwoo wrote: As we said in the release announcement 1.2 is running on all of the Cake sites

Re: Bakery Source

2007-01-07 Thread Felix Geisendörfer
No downloads but you can check it out from the SVN and install https://svn.cakeforge.org/svn/bakery/trunk/bakery is where you can download it ; ). -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de Dr. Tarique Sani wrote

Re: anything similar to acts_as_tree in Rails

2007-01-07 Thread Felix Geisendörfer
I'm thinking of doing a project in cake and would like to know if there is a model convention similar to 'acts_as_tree' in rails. CakePHP 1.2 has a similar functionality named Behaviors. However it's not officially been released yet (only a developer release). -- Felix Geisendörfer aka

Re: anything similar to acts_as_tree in Rails

2007-01-07 Thread Felix Geisendörfer
Would it make sense to go after rails's documentation to get an idea of how these new things in 1.2 are functioning ? Probably not. But maybe I can get you some sample code at some point if I find it. -- Felix Geisendörfer aka the_undefined -- http

Re: anything similar to acts_as_tree in Rails

2007-01-07 Thread Felix Geisendörfer
it really. Felix Geisendörfer wrote: Would it make sense to go after rails's documentation to get an idea of how these new things in 1.2 are functioning ? Probably not. But maybe I can get you some sample code at some point if I find it. -- Felix Geisendörfer aka the_undefined

Re: lov.li - social network built on cake

2007-01-05 Thread Felix Geisendörfer
what other cool sites are currently being developed with CakePHP. I can't await to see them all launch in 2007 ; ). -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de Tijs Teulings wrote: p.s. which datacenter did you pick

Re: File upload with AJAX

2007-01-03 Thread Felix Geisendörfer
Hey, I'm currently doing a little series on JavaScript programming http://www.thinkingphp.org/2006/12/30/a-php-developers-guide-to-javascript-part-i/ on my blog and I think this would be an excellent tutorial for one of my upcoming posts. So if you can wait I might write up an excellent how-to

Re: Starting big application with Cake

2007-01-02 Thread Felix Geisendörfer
Well said Chris, I should bookmark this post for future reference ; ). -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de Chris Hartjes wrote: On 1/2/07, Leandro Ardissone [EMAIL PROTECTED] wrote: Thanks Dinh, really

Re: A gift for all to enjoy

2006-12-28 Thread Felix Geisendörfer
I think extracting the E-Mail component should work pretty well (afaik), but I don't think that you'll easily be able to mix 1.1 and 1.2 helpers like the FormHelper. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de redhex wrote: Good update for 1.2

Re: CakePHP blogs

2006-12-20 Thread Felix Geisendörfer
Hmm, Sosa's feed seems to be dead and causing the issue. I'll see if I can find some time to fix soon. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Mariano Iglesias wrote: Felix, are you around? Because on the page Tarique included you have some

Re: CakePHP blogs

2006-12-20 Thread Felix Geisendörfer
What about somebody making a bloglines folder and share it? -- http://www.thinkingphp.org http://www.fg-webdesign.de Mariano Iglesias wrote: They do :) Good articles should have their place on the bakery, though. But I was talking more about the necessity of having

Re: CakePHP with IE7

2006-12-17 Thread Felix Geisendörfer
to take care of IE's rendering disabilities ; ). -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de Mariano Iglesias wrote: One more thing: a smart developer shouldn't buy a framework because of its package, but because

Re: Legal Concerns Regarding CakePHP and Cake Software Foundation

2006-12-17 Thread Felix Geisendörfer
the CakePHP users later on. It would be a very sad day for the entire open source movement if something like this would ever happen ... -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de Nimrod A. Abing wrote: Hello, I am

Re: Share with CakePHP´s community

2006-12-11 Thread Felix Geisendörfer
your mind for yourself: http://www.jquery.com It's all about writing less and doing more. Or as Paul Graham would say: succinctness = power http://www.paulgraham.com/power.html (= jQuery) -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg

Re: Share with CakePHP´s community

2006-12-11 Thread Felix Geisendörfer
because of a lag of international marketing. But in this case my advise for you to go with jQuery stays, I think it's really the best option out there right now ; ). -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de emiliano

Re: Share with CakePHP´s community

2006-12-11 Thread Felix Geisendörfer
Hi Langdon, JQuery looks good (powerful). I have not come across it before, so am on the learning curve. Do you use it instead of Scriptaculous and Prototype? Oh definitely! I've not touched Prototype/Scriptaculous since somebody mentioned jQuery to me. There is nothing wrong with them,

  1   2   >