rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: James Tucker <jftucker@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: Bloat?
Date: Thu, 13 Aug 2009 18:45:04 +0100	[thread overview]
Message-ID: <9E31E866-6FFE-4BFB-B89F-98D85FC4D7F4@gmail.com> (raw)
In-Reply-To: <2a8d4a710908131004i2cef7cb7lc0be17ae7fe7619f@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3835 bytes --]

raggi@mbk: ~/dev/ext/rack % du -sh lib/
296K	lib/

And...

raggi@mbk: ~/dev/ext/rack % g grep autoload
bin/rackup:autoload :Rack, 'rack'
lib/rack.rb:# All modules meant for use in your application are  
<tt>autoload</tt>ed here,
lib/rack.rb:  autoload :Builder, "rack/builder"
lib/rack.rb:  autoload :Cascade, "rack/cascade"
lib/rack.rb:  autoload :Chunked, "rack/chunked"
lib/rack.rb:  autoload :CommonLogger, "rack/commonlogger"
lib/rack.rb:  autoload :ConditionalGet, "rack/conditionalget"
lib/rack.rb:  autoload :Const, "rack/constants"
lib/rack.rb:  autoload :ContentLength, "rack/content_length"
lib/rack.rb:  autoload :ContentType, "rack/content_type"
lib/rack.rb:  autoload :File, "rack/file"
lib/rack.rb:  autoload :Deflater, "rack/deflater"
lib/rack.rb:  autoload :Directory, "rack/directory"
lib/rack.rb:  autoload :ForwardRequest, "rack/recursive"
lib/rack.rb:  autoload :Handler, "rack/handler"
lib/rack.rb:  autoload :Head, "rack/head"
lib/rack.rb:  autoload :Lint, "rack/lint"
lib/rack.rb:  autoload :Lock, "rack/lock"
lib/rack.rb:  autoload :MethodOverride, "rack/methodoverride"
lib/rack.rb:  autoload :Mime, "rack/mime"
lib/rack.rb:  autoload :Recursive, "rack/recursive"
lib/rack.rb:  autoload :Reloader, "rack/reloader"
lib/rack.rb:  autoload :ShowExceptions, "rack/showexceptions"
lib/rack.rb:  autoload :ShowStatus, "rack/showstatus"
lib/rack.rb:  autoload :Static, "rack/static"
lib/rack.rb:  autoload :URLMap, "rack/urlmap"
lib/rack.rb:  autoload :Utils, "rack/utils"
lib/rack.rb:  autoload :MockRequest, "rack/mock"
lib/rack.rb:  autoload :MockResponse, "rack/mock"
lib/rack.rb:  autoload :Request, "rack/request"
lib/rack.rb:  autoload :Response, "rack/response"
lib/rack.rb:    autoload :Basic, "rack/auth/basic"
lib/rack.rb:    autoload :AbstractRequest, "rack/auth/abstract/request"
lib/rack.rb:    autoload :AbstractHandler, "rack/auth/abstract/handler"
lib/rack.rb:    autoload :OpenID, "rack/auth/openid"
lib/rack.rb:      autoload :MD5, "rack/auth/digest/md5"
lib/rack.rb:      autoload :Nonce, "rack/auth/digest/nonce"
lib/rack.rb:      autoload :Params, "rack/auth/digest/params"
lib/rack.rb:      autoload :Request, "rack/auth/digest/request"
lib/rack.rb:    autoload :Cookie, "rack/session/cookie"
lib/rack.rb:    autoload :Pool, "rack/session/pool"
lib/rack.rb:    autoload :Memcache, "rack/session/memcache"
lib/rack.rb:    autoload :Camping, "rack/adapter/camping"
lib/rack/handler.rb:    autoload :CGI, "rack/handler/cgi"
lib/rack/handler.rb:    autoload :FastCGI, "rack/handler/fastcgi"
lib/rack/handler.rb:    autoload :Mongrel, "rack/handler/mongrel"
lib/rack/handler.rb:    autoload :EventedMongrel, "rack/handler/ 
evented_mongrel"
lib/rack/handler.rb:    autoload :SwiftipliedMongrel, "rack/handler/ 
swiftiplied_mongrel"
lib/rack/handler.rb:    autoload :WEBrick, "rack/handler/webrick"
lib/rack/handler.rb:    autoload :LSWS, "rack/handler/lsws"
lib/rack/handler.rb:    autoload :SCGI, "rack/handler/scgi"
lib/rack/handler.rb:    autoload :Thin, "rack/handler/thin"


I don't think we have a bloat problem. I think you're judging bloat  
the wrong way.


On 13 Aug 2009, at 18:04, Matt Todd wrote:

> I was talking to a friend of mine yesterday and he mentioned that  
> thought the Rack package itself seemed to be slightly bloated by  
> things like Basic Auth et al. He mentioned two things I thought were  
> interesting and I wanted to get your feedback on it:
>
> 1. Like Merb, Rack probably could benefit from using a core and more  
> separation of functionality, and
> 2. Rack core should only include what's necessary for Rack::Lint to  
> validate a basic application at minimum.
>
> Thoughts?
>
> Matt
>
> -- 
> Matt Todd
> Highgroove Studios
> www.highgroove.com
> cell: 404-314-2612
> blog: maraby.org
>
> Scout - Web Monitoring and Reporting Software
> www.scoutapp.com


[-- Attachment #2: Type: text/html, Size: 5344 bytes --]

  parent reply	other threads:[~2009-08-13 17:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 17:04 Bloat? Matt Todd
2009-08-13 17:17 ` Bloat? Yehuda Katz
2009-08-13 17:45 ` James Tucker [this message]
2009-08-13 17:49 ` Bloat? Joshua Peek
2009-08-13 17:50   ` Bloat? James Tucker
2009-08-13 17:55     ` Bloat? Adrian Madrid
2009-08-13 18:54       ` Bloat? James Tucker
2009-08-13 20:20   ` Bloat? Christian Neukirchen
2009-08-13 17:49 ` Bloat? James Tucker
2009-08-13 19:01 ` Bloat? Ryan Tomayko
2009-08-13 19:19   ` Bloat? Matt Todd
2009-08-13 22:26     ` Bloat? James Tucker
2009-08-15  3:30 ` Bloat? Kyle Drake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9E31E866-6FFE-4BFB-B89F-98D85FC4D7F4@gmail.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).