TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Intercooler.js – A JavaScript-optional Ajax library

72 pointsby jgjabout 11 years ago

7 comments

carsongrossabout 11 years ago
Hey Everyone,<p>I&#x27;m the guy who built this, based on my own experience and DHH&#x27;s comments on the Basecamp2 architecture. It&#x27;s an attempt to keep things simple and lightweight while still getting many of the UX advantages of newer MVC frameworks.<p>I&#x27;ve tried a few different hooks for the project:<p>&quot;Javascript-free AJAX&quot;<p>&quot;A simpler AngularJS&quot;<p>&quot;Declarative AJAX&quot;<p>Any feedback on the best way to sell it would be appreciated.<p>Also, if anyone is interested in working on the project, there are two major areas left:<p>- Getting the History API smoothed out<p>- Making transitions pluggable<p>Please let me know if you are interested: @carson_gross
评论 #7613712 未加载
untilHellbannedabout 11 years ago
I like the attempt to not require the developer to write more JS, but why didn&#x27;t you just add these data attributes to &quot;a&quot; tags? The functionality of those tags are thrown away, e.g., the &quot;href&quot;, and &quot;span&quot;s aren&#x27;t semantic.
评论 #7613771 未加载
评论 #7616035 未加载
评论 #7616037 未加载
stepmrabout 11 years ago
This is awesome. Have you checked out Eldarion&#x27;s declarative ajax project (<a href="https://github.com/eldarion/eldarion-ajax" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eldarion&#x2F;eldarion-ajax</a>)?
zo1about 11 years ago
Interesting library + concept. I&#x27;ll definitely keep an eye on it for future projects.<p>Some minor issues: The video tutorials are very hard to follow. I say this as someone that has never worked with Rails or Ruby.<p>So when you start talking about &quot;routes&quot;, &quot;partials&quot; and I see code referencing &quot;paginate&quot; and erb files on your server code... In very alien-looking syntax, I might add. It makes for a very hard &quot;tutorial&quot; to follow.<p>I would definitely suggest making server tech-agnostic tutorials. Where you simply talk about the urls being requested, what they return and how they interact with the client-side. Please exclude specific server-side tech, no matter how cool or &quot;fancy&quot; it is, or how knowledgeable you are in it.
tg3about 11 years ago
I noticed that jQuery is required for Intercooler. If the purpose of the library is to enable nice UI interactions without writing jQuery, consider distributing a version of Intercooler that has jQuery bundled with it, or better yet just the parts of jQuery that Intercooler uses.<p>Looks like an interesting library, especially for backend focused devs.
25cfabout 11 years ago
Interesting, but I don&#x27;t know if I would be able to use this for more complex uses of ajax, e.g. pjax&#x2F;phah, etc. But I could definitely see how this could possibly be used over Angular for certain projects.
评论 #7615528 未加载
评论 #7615550 未加载
simonwabout 11 years ago
Hhhhhhhhhhhhhhhhhhhhhhhthhhhh