Google Groups Home
Help | Sign in
Share with CakePHP´s community
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  20 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
emiliano  
View profile
 More options Dec 11 2006, 3:30 pm
From: "emiliano" <ecast...@gmail.com>
Date: Mon, 11 Dec 2006 20:30:00 -0000
Subject: Share with CakePHP´s community
I would like to share a "AJAX Framework" that I discovered today while
reading a national newspaper. It´s open source and it was created by
some guys from my university (but I don`t know them!).

http://www.htmli.com/

I didn´t use it yet, but it seems nice!

cheers
emiliano


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Geisendörfer  
View profile
 More options Dec 11 2006, 3:50 pm
From: Felix Geisendörfer <haimu...@gmail.com>
Date: Mon, 11 Dec 2006 21:50:45 +0100
Local: Mon, Dec 11 2006 3:50 pm
Subject: Re: Share with CakePHP´s community

Hi emiliano,

I looked at it and besides the fact that I got some JS errors while
browsing (with FF 1.5) I think this is not really an 'Ajax Framework'.
It seems to be more like a XLS parser that tries to extend HTML via
Javascript (using ajax of course). To me this ignores the nature of the
web. All code resulting from using this will be broken when the user has
JS disabled (their homepage sure is), most likely be unsemantic /
inaccessible, and worst of all highly CPU hungry. Besides that the
entire thing seems to be pretty verbose, and I dislike things that
require me to type a lot (if it doesn't improve readability or has other
benefits).

Ok, I really don't want to bash your local fellows, they've probably
spent a lot of their time on this. But as a true jQuery evangelist (it's
my second religion after CakePHP), I have to post this little link for
you so you can make up 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-webdesign.de


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
emiliano  
View profile
 More options Dec 11 2006, 4:04 pm
From: "emiliano" <ecast...@gmail.com>
Date: Mon, 11 Dec 2006 13:04:29 -0800
Local: Mon, Dec 11 2006 4:04 pm
Subject: Re: Share with CakePHP´s community
Felix, thanks for the reply. As I`m not a AJAX guy (almost neither a
PHP coder), I thought it could be a good thing to share what an
argentinian newspaper show today in their pages (not many bakers read
argentinian newspapers).

I will follow your advice and learn JQuery.

Emiliano

On 11 dic, 17:50, Felix Geisendörfer <haimu...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Geisendörfer  
View profile
 More options Dec 11 2006, 4:16 pm
From: Felix Geisendörfer <haimu...@gmail.com>
Date: Mon, 11 Dec 2006 22:16:22 +0100
Local: Mon, Dec 11 2006 4:16 pm
Subject: Re: Share with CakePHP´s community

Hi Emiliano,

yeah I certainly don't read any Argentinian news papers. Heck I rarely
read the German ones either. But that's because the major media outlets
these days are either dull and don't question the things they talk
about, or are so full of [...] that it'd be a waste of time to read them
as well ; ). Anyway even so that might just have been a bad preparation
to my next sentence: I'm always interested in trying out and reading
about new technologies. There is a lot of good stuff out there that has
yet to get the audience it deserves and I'd be a shame for it to loose
momentum 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Langdon Stevenson  
View profile
 More options Dec 11 2006, 4:32 pm
From: Langdon Stevenson <lang...@lindenrow.com.au>
Date: Tue, 12 Dec 2006 08:32:53 +1100
Local: Mon, Dec 11 2006 4:32 pm
Subject: Re: Share with CakePHP´s community
Hi Felix

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?

Regards,
Langdon


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Geisendörfer  
View profile
 More options Dec 11 2006, 4:45 pm
From: Felix Geisendörfer <haimu...@gmail.com>
Date: Mon, 11 Dec 2006 22:45:39 +0100
Local: Mon, Dec 11 2006 4:45 pm
Subject: Re: Share with CakePHP´s community

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, and both of
those libraries have brought a lot of good things to the universe, but
jQuery is a couple steps above on the evolutionary ladder of JS code.

My own experience was that when I first converted one of my projects
from prototype to jQuery, I instantly cut my current JS code in half.
This was before I really knew most of what jQuery could do. Now the JS
code of this project is probably 1/4th or 1/5th of it's original size.

Or to express it with the a quote from a recent discussion on the jQuery
mailing list:

Dave Methvin wrote:
> > "You start with 10 lines of jQuery that would have been 20 lines of
> > tedious DOM Javascript. By the time you are done it's down to two or
> > three lines and it couldn't get any shorter unless it read your mind."  

Using jQuery has had a hugely positive effect on my JS coding. But more
then that, it actually changed my attitude towards the language itself.
Before jQuery I thought Javascript was doomed to produce ugly spaghetti
code, and even the cool ajax stuff wouldn't change that. Well now I
actually really started to like the language and have learned a lot more
about it and it's been great fun.

Anyway, I just noticed that I sound like one of those technology
evangelists who spent more time talking about the technology they love
then actually using it. So please go ahead and give jQuery a try, you
won't regret it ; ).

-- Felix
--------------------------
http://www.thinkingphp.org
http://www.fg-webdesign.de


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Hartjes  
View profile
 More options Dec 11 2006, 4:48 pm
From: "Chris Hartjes" <chart...@gmail.com>
Date: Mon, 11 Dec 2006 16:48:43 -0500
Local: Mon, Dec 11 2006 4:48 pm
Subject: Re: Share with CakePHP´s community

>  Using jQuery has had a hugely positive effect on my JS coding. But more
> then that, it actually changed my attitude towards the language itself.
> Before jQuery I thought Javascript was doomed to produce ugly spaghetti
> code, and even the cool ajax stuff wouldn't change that. Well now I actually
> really started to like the language and have learned a lot more about it and
> it's been great fun.

Amen to that, brother.  I've been using jQuery for all my latest
Ajax-related needs and like the small footprint it offers as well.
The compact version of jQuery is under 19K in size.  I used it to do
some neat effects on a pop-under ad for our forum sites at work (it's
known as a 'catfish').

Smaller and simpler is better in this case.  I wish someone would
hurry up with jQuery helpers for Cake (I know, I know, I had talked
about it in the 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "JQuery and Prototype [was Re: Share with CakePHP´s community]" by John David Anderson (_psychic_)
John David Anderson (_psychic_)  
View profile
 More options Dec 11 2006, 4:54 pm
From: "John David Anderson (_psychic_)" <psyc...@cakephp.org>
Date: Mon, 11 Dec 2006 14:54:44 -0700
Local: Mon, Dec 11 2006 4:54 pm
Subject: JQuery and Prototype [was Re: Share with CakePHP´s community]

On Dec 11, 2006, at 2:45 PM, Felix Geisendörfer wrote:

> 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,  
> and both of those libraries have brought a lot of good things to  
> the universe, but jQuery is a couple steps above on the  
> evolutionary ladder of JS code.

How so? I've heard good news about jQuery, but why do people like it  
better (besides footprint)?

> My own experience was that when I first converted one of my  
> projects from prototype to jQuery, I instantly cut my current JS  
> code in half. This was before I really knew most of what jQuery  
> could do. Now the JS code of this project is probably 1/4th or  
> 1/5th of it's original size.

Maybe that's just lines. The main thing I don't like about JQuery is  
ThatMany.linesOfCode(endup).lookingLikeA(TrainWreck);

> Or to express it with the a quote from a recent discussion on the  
> jQuery mailing list:
> Dave Methvin wrote:
>> > "You start with 10 lines of jQuery that would have been 20 lines of
>> > tedious DOM Javascript. By the time you are done it's down to  
>> two or
>> > three lines and it couldn't get any shorter unless it read your  
>> mind."

I that's partly due to the train-wrecked-ness of the library.  
Prototype isn't overly verbose - most calls to that (or  
scriptaculous) are one liners in my experience. Sure there's times  
when you want to chain things or queue events...

Well, there's that, and Prototype usage isn't much like vanilla DOM  
scripting.

> Using jQuery has had a hugely positive effect on my JS coding. But  
> more then that, it actually changed my attitude towards the  
> language itself. Before jQuery I thought Javascript was doomed to  
> produce ugly spaghetti code, and even the cool ajax stuff wouldn't  
> change that. Well now I actually really started to like the  
> language and have learned a lot more about it and it's been great fun.

Examples? I'm interested in learning more.

-- John


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Share with CakePHP´s community" by Langdon Stevenson
Langdon Stevenson  
View profile
 More options Dec 11 2006, 4:53 pm
From: Langdon Stevenson <lang...@lindenrow.com.au>
Date: Tue, 12 Dec 2006 08:53:14 +1100
Local: Mon, Dec 11 2006 4:53 pm
Subject: Re: Share with CakePHP´s community
Thanks Felix, I do love finding someone passionate about something :-)

I have found a few plug-ins in JQuery that could be immediately useful
to me (like table sorting, tabs, and menus to name a few).  The basic
functionality looks good too.

The next question is: have you put together any Cake Helpers for JQuery?
  Or do you just code it straight in your pages?

Regards,
Langdon

Felix Geisendörfer wrote:
> 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, and both of
> those libraries have brought a lot of good things to the universe, but
> jQuery is a couple steps above on the evolutionary ladder of JS code.

<snip>

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Olivier Percebois-Garve  
View profile
 More options Dec 12 2006, 4:52 am
From: "Olivier Percebois-Garve" <perceb...@gmail.com>
Date: Tue, 12 Dec 2006 10:52:34 +0100
Local: Tues, Dec 12 2006 4:52 am
Subject: Re: Share with CakePHP´s community

If you like the view-based js approach in cake, the head helper is still
doing a very good job. Jquery rocks !

On 12/11/06, Langdon Stevenson <lang...@lindenrow.com.au> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "JQuery and Prototype [was Re: Share with CakePHP´s community]" by Felix Geisendörfer
Felix Geisendörfer  
View profile
(2 users)  More options Dec 12 2006, 11:14 am
From: Felix Geisendörfer <haimu...@gmail.com>
Date: Tue, 12 Dec 2006 17:14:50 +0100
Local: Tues, Dec 12 2006 11:14 am
Subject: Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

Hey John,

here it comes, the ultimate why jQuery beats prototype post:

> Maybe that's just lines. The main thing I don't like about JQuery is  
> ThatMany.linesOfCode(endup).lookingLikeA(TrainWreck);

Ok he