Share with CakePHP´s community

View: New views
20 Messages — Rating Filter:   Alert me  

Share with CakePHP´s community

by Emiliano Castaño :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Felix Geisendörfer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 (= jQuery)

-- Felix Geisendörfer aka the_undefined


emiliano wrote:
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




  

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Emiliano Castaño :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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...@...> wrote:

> 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.orghttp://www.fg-webdesign.de
>
> emiliano wrote:
> > 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


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Felix Geisendörfer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


emiliano wrote:
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...@... wrote:
  
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.orghttp://www.fg-webdesign.de

emiliano wrote:
    
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
      




  

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Langdon Stevenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Felix Geisendörfer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Langdon Stevenson wrote:
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



  

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Chris Hartjes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>  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

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Langdon Stevenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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>

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


JQuery and Prototype [was Re: Share with CakePHP´s community]

by John David Anderson (_psychic_) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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
--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Olivier percebois-Garve :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <langdon@...> wrote:

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>


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

by Felix Geisendörfer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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 here is the deal. jQuery is like a big bucket that captures DOM elements (and objects in some cases). You fill this bucket by providing a selector for elements to match. This can be done using CSS selectors, XPath and some custom expressions (more below). After that you start to manipulate the bucket. This means adding classes and setting attributes, but also appending and removing nodes as well as filtering things out of the bucket or adding new items to it. Each of this operations returns it's results in form of a new bucket that can be further manipulated. Let me show you a little example:

--------------------------------------------------------------------------------
$('p').addClass('updated')
.append('<span>This paragraph has just been updated!</span>')
.filter('p:hidden').show()
.appendTo('div#hidden-paragraphs
');
--------------------------------------------------------------------------------

This little snippet will do the following things:
  • Fill the 'bucket' with all <p> elements in the document
  • Add the class 'updated' to them
  • Append a <span> stating this at the end of the paragraphs
  • Filter the bucket for <p> elements that used to be hidden and show them
  • Move these previously hidden <p> elements in the DOM and append them to a div called 'hidden-paragraphs'.
Now please feel free to come up with a prototype example for this, but to me the train wreck style is the heart of jQuery. It is very simple to understand and allows you to to very advanced things with very little code. I first was a little hesitant about using it, but now I truly love it!

Superior Design & Philosophy

jQuery's philosophy is all about typing less, doing more and keeping things intuitive. Prototype fails at that. The best example showing how jQuery's pragmatic approaches beat Prototype is updating an element via AHAH (ajax):

Prototype:
-------------------------------------------------------------------------------------------------------
var myAjax = new Ajax.Updater('elmentId', url, {method: 'get', parameters: params, onSuccess: myCallback});
-------------------------------------------------------------------------------------------------------

jQuery:
-------------------------------------------------------------------------------------------------------
$('#elementId').load(url,
params, myCallback)
-------------------------------------------------------------------------------------------------------

Now and this is only updating 1 element. Updating several elements with jQuery is just as easy:

jQuery:
-------------------------------------------------------------------------------------------------------
$('ul li.update-me').load(url,
params, myCallback)
-------------------------------------------------------------------------------------------------------

This will update all <li> elements that have the class 'update-me' within a <ul> element with the data recieved from 'url'. In Prototype you would need to do a loop and create several instances of the Ajax.Updater to do this.

Intuitive element selection

Prototype does best when working with elements you know the id of. jQuery however leverages the full power of CSS, XPath and custom selectors to make DOM traversing the easiest thing in the world. You don't believe me? Check out the following resources:
Also check out this Zebra Table Showdown where almost all big JS libraries are compared on the task of highlighting every second row in a table. Here is the jQuery vs. Prototype example:

Prototype
-------------------------------------------------------------------------------------------------------
$A(document.getElementsByTagName("table")).each(function(table){
  $A(table.getElementsByTagName("tr")).each(function(row,i){
    if ( i % 2 == 1 )
      Element.addClassName( row, "odd" );
  });
});
-------------------------------------------------------------------------------------------------------
jQuery
-------------------------------------------------------------------------------------------------------
$("tr:nth-child(odd)").addClass("odd");
-------------------------------------------------------------------------------------------------------

jQuery has a build-in plugin system

jQuery has some neat conventions used by other developers to create plugins for it. It's not like a framework, but it certainly had an educational effect on the Users of jQuery and I really like it:

http://jquery.com/docs/Plugins/Authoring/

Prototype has no standard like this and therefor different widgets take very different approaches which makes it less convenient to implement them.


jQuery has a great community and a lot of good plugins

jQuery has a very active community (especially the mailing list which has more messages then CakePHP's). Prototype definitely lacks that.  This community has also produced a great amount of useful plugins, some of the best are:
  • The Interface library. It's kind of scriptacoulus for jQuery and has lot's of goodies.
  • Thickbox is jQuery's answer to Lightbox.
  • The history plugin makes it very easy to make the back button work with AJAX
  • An excellent corner plugin that let's you create existing boundaries for your content
jQuery has awesome documentation

Unlike prototype where the best information seems to be the reference, jQuery has excellent documentation:


So if all of this has not convinced you yet, simply go over to jQuery.com, download the code and do a little test ride. It's free but I'm almost certain it will convince you to buy into the jQuery philosophy ; ).

Let me know what you think John ; ).



-- Felix Geisendörfer aka the_undefined


John David Anderson (_psychic_) wrote:
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


  

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

by John David Anderson (_psychic_) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Dec 12, 2006, at 9:14 AM, Felix Geisendörfer wrote:

Hey John,

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

Yeah, no joke. Its like my own personal JavaScript novel. Thanks man. :)

<snipped>

So if all of this has not convinced you yet, simply go over to jQuery.com, download the code and do a little test ride. It's free but I'm almost certain it will convince you to buy into the jQuery philosophy ; ).

I'll have to give it a closer look (and read this post again). I'm really hesitant to use the compact coding style, but I can see the benefits as well: I'll have to think on that.

What effects library do jQuery folks use? If I'm going to drop Prototype, I'll need a robust effects library equivalent to Scriptaculous.

-- John

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

by Felix Geisendörfer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Yeah, no joke. Its like my own personal JavaScript novel. Thanks man. :)
No problem, I also hope some other people might take a look at it ; ).
What effects library do jQuery folks use? If I'm going to drop Prototype, I'll need a robust effects library equivalent to Scriptaculous.
The Interface library is probably what you are looking for: http://interface.eyecon.ro/. I'm not sure if it has every single animation Scriptaculous does because I'm not into using JS as Flash that much (^^), but I think it should have the most important things. But writing your own effects is very easy as well, so if you are missing something let me know what you need and I'll see what I can do ; ).

-- Felix Geisendörfer aka the_undefined


John David Anderson (_psychic_) wrote:

On Dec 12, 2006, at 9:14 AM, Felix Geisendörfer wrote:

Hey John,

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

Yeah, no joke. Its like my own personal JavaScript novel. Thanks man. :)

<snipped>

So if all of this has not convinced you yet, simply go over to jQuery.com, download the code and do a little test ride. It's free but I'm almost certain it will convince you to buy into the jQuery philosophy ; ).

I'll have to give it a closer look (and read this post again). I'm really hesitant to use the compact coding style, but I can see the benefits as well: I'll have to think on that.

What effects library do jQuery folks use? If I'm going to drop Prototype, I'll need a robust effects library equivalent to Scriptaculous.

-- John



--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


RE: JQuery and Prototype [was Re: Share with CakePHP´s community]

by Mariano Iglesias :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


So anyway, what is your equity on JQuery? ;)

Have you evaluated what is the impact of using JQuery *instead of* prototype
with CakePHP? Impact = needed changes

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.

BAKE ON!
________________________________________
De: cake-php@... [mailto:cake-php@...] En nombre
de Felix Geisendörfer
Enviado el: Martes, 12 de Diciembre de 2006 01:48 p.m.
Para: cake-php@...
Asunto: Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

The Interface library is probably what you are looking for:
http://interface.eyecon.ro/. I'm not sure if it has every single animation
Scriptaculous does because I'm not into using JS as Flash that much (^^),
but I think it should have the most important things. But writing your own
effects is very easy as well, so if you are missing something let me know
what you need and I'll see what I can do ; ).


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

by Nate Abele-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Mariano Iglesias wrote:

> Have you evaluated what is the impact of using JQuery *instead of* prototype
> with CakePHP? Impact = needed changes

http://cake.insertdesignhere.com/files/nyphp_presentation.pdf

See page 43.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

by Felix Geisendörfer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you evaluated what is the impact of using JQuery *instead of* prototype
with CakePHP? Impact = needed changes
  
I've never used, and never will use the CakePHP Ajax helper. This is not because it's bad, but because it is doomed to create inline JS and therefor is more targeted at JS beginners. If you want to do a real JS project, you are going to have your own JS files where all your code rests.

Therefor jQuery has only saved me work and not added any because of CakePHP. jQuery ajax calls are also recognized by the RequestHandler component, so no trouble there either.

-- Felix Geisendörfer aka the_undefined


Mariano Iglesias wrote:
So anyway, what is your equity on JQuery? ;)

Have you evaluated what is the impact of using JQuery *instead of* prototype
with CakePHP? Impact = needed changes

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!
________________________________________
De: cake-php@... [cake-php@...] En nombre
de Felix Geisendörfer
Enviado el: Martes, 12 de Diciembre de 2006 01:48 p.m.
Para: cake-php@...
Asunto: Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

The Interface library is probably what you are looking for:
http://interface.eyecon.ro/. I'm not sure if it has every single animation
Scriptaculous does because I'm not into using JS as Flash that much (^^),
but I think it should have the most important things. But writing your own
effects is very easy as well, so if you are missing something let me know
what you need and I'll see what I can do ; ).




  

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

by Nate Abele-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> I've never used, and never will use the CakePHP Ajax helper. This is not
> because it's bad, but because it is doomed to create inline JS and
> therefor is more targeted at JS beginners. If you want to do a real JS
> project, you are going to have your own JS files where all your code rests.

Creating inline JavaScript!?!  Perish the thought!

You must have missed the announcement:
http://groups.google.com/group/cake-php/browse_thread/thread/44212b3da1159961/d4f559fecb58d1c7

And those features are being enhanced in 1.2, so that <script /> tags
for code written to external files are automagically written to <head
/>.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


RE: JQuery and Prototype [was Re: Share with CakePHP´s community]

by Mariano Iglesias :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Coming up in CakePHP 1.2... Cool. Thanks for the heads up.

AppHelper instead of Helper?

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.

BAKE ON!

-----Mensaje original-----
De: cake-php@... [mailto:cake-php@...] En nombre
de nate
Enviado el: Martes, 12 de Diciembre de 2006 03:09 p.m.
Para: Cake PHP
Asunto: Re: JQuery and Prototype [was Re: Share with CakePHP´s community]

Mariano Iglesias wrote:

> Have you evaluated what is the impact of using JQuery *instead of*
prototype
> with CakePHP? Impact = needed changes

http://cake.insertdesignhere.com/files/nyphp_presentation.pdf

See page 43.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


RE: Share with CakePHP´s community

by Mariano Iglesias :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hey Emiliano, what newspaper was it? Since it was Monday I'm assuming La
Nacion, am I right? Was this the article?

http://buscador.lanacion.com.ar/Nota.asp?nota_id=866485&high=htmli
(non-spanish bakers: link in Spanish)

Felix & JQuery, what a work of evangelism ;)

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.

BAKE ON!


-----Mensaje original-----
De: cake-php@... [mailto:cake-php@...] En nombre
de emiliano
Enviado el: Lunes, 11 de Diciembre de 2006 06:04 p.m.
Para: Cake PHP
Asunto: 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


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Share with CakePHP´s community

by Emiliano Castaño :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Mariano, that's the article!

On 12 dic, 20:31, "Mariano Iglesias" <mariano.igles...@...>
wrote:

> Hey Emiliano, what newspaper was it? Since it was Monday I'm assuming La
> Nacion, am I right? Was this the article?
>
> http://buscador.lanacion.com.ar/Nota.asp?nota_id=866485&high=htmli
> (non-spanish bakers: link in Spanish)
>
> Felix & JQuery, what a work of evangelism ;)
>
> -MI
>
> ---------------------------------------------------------------------------
>
> Remember, smart coders answer ten questions for every question they ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> -----Mensaje original-----
> De: cake-php@... [mailto:cake-php@...] En nombre
> de emiliano
> Enviado el: Lunes, 11 de Diciembre de 2006 06:04 p.m.
> Para: Cake PHP
> Asunto: 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


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@...
To unsubscribe from this group, send email to cake-php-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---