English 中文(简体)
铁路2.3.10,纸浆和3人死亡缓慢,希望Ajax
原标题:Rails 2.3.10, Paperclip and s3 dead slow and would like to Ajax

I m 采用纸张和纸张,上载一个简单的图像文件。 我浏览了所有这些理论,解释如何为这些形象提供实际的延迟工作,但我感到这些理论过于老旧,或许可以更容易地做到这一点。 我的问题是,“铁路”(快车和简易车)是用下列光谱绘制一条条模式的情景。

1 - 只有1台照片上载。

2 - 纸面记录模型处理2份原样;Thumb为120x120,正常为250x250

什么应该用“AJAXification”上载?

非常感谢!

最佳回答

共有两辆流行的javascript上载器,将显示上载进展,在上载之前能够改变原形象。 /Plupload和swfupload。 寻找一个高压载荷的矿址,这样大的压载就更合适了。

您仍然应当使用延迟的工作,因为这意味着用户不必等到您的服务器上再处理第3页的图像,然后再把这一图像送给你的服务器。 事实上,建立一个

编辑:

Here s a couple of gems that should make swfupload installation easier.

http://github.com/GreenAsJade/s3-swf-upload-plugin”rel=“nofollow”>swfuploadrails 2 gem

http://github.com/nathancolgate/s3-swf-upload-plugin”rel=“nofollow”>swfuploadrails 3 gem

http://thewebfellas.com/blog/2008/12/22/flash-uploaders-rails-cookie-based-sessions-and-csrf-rack-middleware-to-the-rescue”rel=“nofollow” 待读。

问题回答

暂无回答




相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签