<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>The Cappuccino Blog - Latest Comments in Just One File with Cappuccino 0.8</title><link>http://cappuccino.disqus.com/</link><description></description><atom:link href="https://cappuccino.disqus.com/just_one_file_with_cappuccino_08/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 07 Apr 2010 23:09:39 -0000</lastBuildDate><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-43796637</link><description>&lt;p&gt;How do you handle HTTPS/SSL requests in IE*?  I've observed this not working with MHTML.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim</dc:creator><pubDate>Wed, 07 Apr 2010 23:09:39 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-35025848</link><description>&lt;p&gt;This makes so much sense when its put forward so well...Cant believe I missed this!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Woody</dc:creator><pubDate>Thu, 18 Feb 2010 10:49:13 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-24132705</link><description>&lt;p&gt;Look at alternative tool - online generator of data:uri css sprites&lt;br&gt;&lt;a href="http://duris.ru/lang/en/" rel="nofollow noopener" target="_blank" title="http://duris.ru/lang/en/"&gt;http://duris.ru/lang/en/&lt;/a&gt;&lt;br&gt;Supports MHTML for IE &amp;lt; 8 &amp;amp; data:uri for others modern browsers&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sirus</dc:creator><pubDate>Thu, 26 Nov 2009 11:27:20 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-23157893</link><description>&lt;p&gt;Just like in Cocoa you can implement the drawRect method on a view using the AppKit or CoreGraphics drawing APIs. Check out some of the tutorials: &lt;a href="http://cappuccino.org/learn/tutorials/" rel="nofollow noopener" target="_blank" title="http://cappuccino.org/learn/tutorials/"&gt;http://cappuccino.org/learn...&lt;/a&gt; ("An introduction to Cappuccino Graphics" in particular)&lt;/p&gt;&lt;p&gt;Contact us on the mailing list or IRC if you need more help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tlrobinson</dc:creator><pubDate>Sun, 15 Nov 2009 17:54:25 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-23119662</link><description>&lt;p&gt;Thanks, boucher and tlrobinson, for your reply! Could anyone give me some pointers on how to draw a chart (or more specifically, a finance chart such as line or candlestick) using the Cappucino framework? What methods do I call or library do I use? (While I am an Objective-C developer, I have not studied the Cappucino framework or Objective-J language. Any starting tips would be appreciated). Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevinpan</dc:creator><pubDate>Sun, 15 Nov 2009 04:13:17 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22952944</link><description>&lt;p&gt;Great job. &lt;br&gt;I was thinking such a feature for a while for the CMS SPIP i'm contributing to. &lt;br&gt;But having found a way to get it working for ie6&amp;amp;7 is a major step. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cédric</dc:creator><pubDate>Fri, 13 Nov 2009 17:29:24 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22880608</link><description>&lt;p&gt;Nice work guys.&lt;/p&gt;&lt;p&gt;I was browsing around your github repo for the relevant code - would you mind giving a pointer for where to start looking?&lt;/p&gt;&lt;p&gt;Cheers,&lt;br&gt;Marcus&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">marcuswestin</dc:creator><pubDate>Fri, 13 Nov 2009 00:39:02 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22870749</link><description>&lt;p&gt;The 2 concurrent connections is a limitation of the web browser, not any particular framework. There are Comet libraries that let you multiplex multiple streams over a single connection.&lt;/p&gt;&lt;p&gt;Check out Orbited, cometd, &lt;a href="http://js.io" rel="nofollow noopener" target="_blank" title="js.io"&gt;js.io&lt;/a&gt;, and many others. These libraries can be used in a Cappuccino application.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tlrobinson</dc:creator><pubDate>Thu, 12 Nov 2009 20:55:21 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22870263</link><description>&lt;p&gt;Cappuccino doesn't do anything with the server itself. So how reliable  &lt;br&gt;those portions will be is completely dependent on how you code them.  &lt;br&gt;It can be made exactly as reliable as any other web app, since  &lt;br&gt;everything is using the same set of fundamental technologies. More  &lt;br&gt;than likely you'd use an existing Comet library of some kind.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">boucher</dc:creator><pubDate>Thu, 12 Nov 2009 20:43:19 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22870182</link><description>&lt;p&gt;Dear Redmar (and other Cappucino fans, as well):&lt;/p&gt;&lt;p&gt;Thanks for your answer! The reason for my worry is my colleage said Google Web Toolkit has problems supporting more than 2 concurrent/simultaneous connections. For GWT, it is possible but requires some major workarounds.&lt;/p&gt;&lt;p&gt;So, I'm wondering how easy to do this with Cappuccino framework? I mean, a stock/forex analysis charting has streams of continuous data feeding to in and updating charts and price display. How reliable would such an application be written using Cappucino?&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;Kevin Pan&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevinpan</dc:creator><pubDate>Thu, 12 Nov 2009 20:41:16 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22821110</link><description>&lt;p&gt;First, I would like to thank you for this amazing framework!&lt;/p&gt;&lt;p&gt;I've got a couple questions.&lt;/p&gt;&lt;p&gt;SproutCore has a really interesting framework called DataStore. It allows to manage structured data and it is often used to implement the model layer, read/write data from/to the server, manage relationship between obects and other cool stuff (like managing for you cache). It is designed with cloud computing in mind.&lt;br&gt;Do you plan to add a similar framework in Cappuccino?&lt;/p&gt;&lt;p&gt;Do you plan to write a tutorial covering client-server communication?&lt;/p&gt;&lt;p&gt;More generaly, do you plan to make client-server communication easier with Cappuccino?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mateo</dc:creator><pubDate>Thu, 12 Nov 2009 09:07:02 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22815456</link><description>&lt;p&gt;&amp;gt;The burning question is: does the Cappucino framework support this many concurrent connections to a server?&lt;/p&gt;&lt;p&gt;This is not really a question for the cappuccino framework, it's more related to the user's browser capability. (so you can lookup general limits of concurrent connections for generic browsers) Another idea could be to multiplex the needed concurrent connections through your server which then acts as a kind of proxy resulting in only one connection for the comet stream. (And added advantages that you can cache the data stream for all your users and that you don't suffer from cross domain connection pains)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Redmar Kerkhoff</dc:creator><pubDate>Thu, 12 Nov 2009 06:18:39 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22812932</link><description>&lt;p&gt;Hi, I'm very impressed by the Cappuccino framework. I'm considering to use it to develop a finance application which includes streaming live ticks of stock prices and forex rates updating dynamic charts (line charts, Japanese candlestick charts, etc.). For this type of application, the client (ie. web browser using JavaScript) has to simultaneously open *MANY* concurrent connections to a server and possible use of http response forever method (ie. Comet) to process the live ticks and update the charts. The burning question is: does the Cappucino framework support this many concurrent connections to a server? If anyone could let me know and possible point me to some code I would appreciate it very much. Thanks! Kevin.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevinpan</dc:creator><pubDate>Thu, 12 Nov 2009 04:29:01 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22804184</link><description>&lt;p&gt;Just coincidentally saw this commit into gwt after reading your post. Might be worth pinging them about their experience with MHTML.&lt;/p&gt;&lt;p&gt;&lt;a href="http://code.google.com/p/google-web-toolkit/source/detail?r=6839#" rel="nofollow noopener" target="_blank" title="http://code.google.com/p/google-web-toolkit/source/detail?r=6839#"&gt;http://code.google.com/p/go...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;(Edit: sorry, ManOfTheNorth, didn't mean to reply to your comment, I just hit the wrong button.)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shaberman</dc:creator><pubDate>Thu, 12 Nov 2009 00:06:46 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22790627</link><description>&lt;p&gt;The other advantage to base64, that kind of makes up for the size issues, is that they process at a more native level, with half the chip-level instructions per cycle set. This makes for cleaner, faster transitions.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ManOfTheNorth</dc:creator><pubDate>Wed, 11 Nov 2009 19:53:26 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22779516</link><description>&lt;p&gt;Incredibly awesome!  Great work yet again guys!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">godavemon</dc:creator><pubDate>Wed, 11 Nov 2009 16:44:00 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22778936</link><description>&lt;p&gt;I was just recently thinking that image (pre)loading was a bit of an elephant in the room with Cappuccino apps.&lt;/p&gt;&lt;p&gt;This looks like a really good solution, not only in preloading or having required images by the time the app launches, but also by speeding it up with Gzip and reduced HTTP overhead on multiple files.&lt;/p&gt;&lt;p&gt;Good work guys ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">robmcm</dc:creator><pubDate>Wed, 11 Nov 2009 16:35:33 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22767864</link><description>&lt;p&gt;See my reply a little lower. The benefits come because we compress lots of images in a single text file, increasing the amount of redundancy between them. It's like zipping up a folder of images versus zipping up one individually. The former is much more efficient.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">boucher</dc:creator><pubDate>Wed, 11 Nov 2009 14:48:03 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22767575</link><description>&lt;p&gt;Also worth noting that it would probably still be worth it even if the size did increase by 10%, for the perceived speed benefit, and likely the actual speed benefit of reducing the http requests. It's harder to be exact about such things, but because of the parallel download limit, downloading 100 images individually becomes incredibly slow.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">boucher</dc:creator><pubDate>Wed, 11 Nov 2009 14:42:44 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22767417</link><description>&lt;p&gt;Testing the images in one of our projects, it works out like this:&lt;/p&gt;&lt;p&gt;- 377 KB raw for all images&lt;br&gt;- 520 KB for base64 representations combined&lt;br&gt;- 303 KB for combined all base64 images, then gzipped&lt;/p&gt;&lt;p&gt;So, it actually saves a significant amount. Plus the savings of the HTTP request overhead.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">boucher</dc:creator><pubDate>Wed, 11 Nov 2009 14:40:13 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22766608</link><description>&lt;p&gt;I have served via a single file both JavaScript and CSS with &lt;a href="http://packed.it" rel="nofollow noopener" target="_blank" title="packed.it"&gt;packed.it&lt;/a&gt; project and MyMin, both dead due missed interest from Web Community. Now that we have images as well, I guess the day we can serve a single file including everything is close. Just a hint, put a minified CSS properly escaped if where necessary into a string and push it into the DOM before the JavaScript code will be evaluated. Add base64 encoded sprites, and a Web Site will automatically become a single request with a single external file which can be served with a quick 304 and a managed via a proper ETag ;-)&lt;/p&gt;&lt;p&gt;Good stuff and nice technique, the scary part is how many "secrets" we can discover about IE, discovering it could have been a better browser if forced properly during these 2.0 era - Documentation Failure?&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">WebReflection</dc:creator><pubDate>Wed, 11 Nov 2009 14:27:14 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22751373</link><description>&lt;p&gt;I see someone else is curious about how you're dealing with the base64 33% expansion.  I did a quick test on a fairly standard image used in a web app, base64'd it then gzip'd that:&lt;/p&gt;&lt;p&gt;- 3968 bytes for original image&lt;br&gt;- 5361 bytes for original image converted to base64&lt;br&gt;- 4108 bytes for original image converted to base64 then gzip'd&lt;/p&gt;&lt;p&gt;Seems like gzip'ing base64'd content puts you back in a reasonable range w/r/t the expansion.  But wonder how this scales in general, and with lots of images, and how you'd arrange to pre-gzip the base64'd content.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pmuellr</dc:creator><pubDate>Wed, 11 Nov 2009 12:27:32 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22742591</link><description>&lt;p&gt;"This has the added benefit that gzip can work its magic on the entirety of your web app as one, producing better results."&lt;/p&gt;&lt;p&gt;In my experience, I found that gzipping a base64 string showed little to no improvement in size, and often times made my files _bigger_. What were your results, as far as file-size is concerned, when running gzip on a base64 string?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Sexton</dc:creator><pubDate>Wed, 11 Nov 2009 11:52:15 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22733742</link><description>&lt;p&gt;The code is all part of Objective-J and the tools, which don't require the framework itself. You could always use those in your project without using Cappuccino.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">boucher</dc:creator><pubDate>Wed, 11 Nov 2009 10:53:42 -0000</pubDate></item><item><title>Re: Just One File with Cappuccino 0.8</title><link>http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8/#comment-22733449</link><description>&lt;p&gt;It's trivial to either include code and images in one file, or beak them into two. More importantly, for most Cappuccino apps, it's easiest to cache and version the entire app, including images. But yeah, there's definitely a tradeoff between granularity of updates and reduction of HTTP requests.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">boucher</dc:creator><pubDate>Wed, 11 Nov 2009 10:52:46 -0000</pubDate></item></channel></rss>