From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.204.72.79 with SMTP id l15cs779632bkj; Thu, 13 Aug 2009 10:45:20 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.90.66.14 as permitted sender) client-ip=10.90.66.14; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.90.66.14 as permitted sender) smtp.mail=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com; dkim=pass header.i=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com Received: from mr.google.com ([10.90.66.14]) by 10.90.66.14 with SMTP id o14mr422615aga.3.1250185518477 (num_hops = 1); Thu, 13 Aug 2009 10:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received-spf:authentication-results:received :dkim-signature:domainkey-signature:received:received:message-id :from:to:in-reply-to:content-type:mime-version:subject:date :references:x-mailer:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; bh=+e+IOAt+lbYFrS63UtUneq2FoC0hTgMXIfCz4D8VrYA=; b=VifdsOON/s+/C/aVcGHgIScu1Aoc3/sCEWXfx3NG26f4Oaz7p9+TwnodSeFA9/xU9j +ku+yVpTIvCP2gevgcfyoOZOt0cm+860AswL9ue5ODSfJBY5TRb0lYbwVLSccnYIY87t lkT1wlddj/+xu5txvUSZ12DglAajBPPpUp8Lo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :dkim-signature:domainkey-signature:message-id:from:to:in-reply-to :content-type:mime-version:subject:date:references:x-mailer:reply-to :sender:precedence:x-google-loop:mailing-list:list-id:list-post :list-help:list-unsubscribe:x-beenthere-env:x-beenthere; b=rbOJFfGBwWVmuY0Wnos6y12avWRxJkRr+mEN9vsT8MF39ygchN1WdQLJ0i0Q+wTAa6 keCBInG/P3gw/oOX2mj96cE8U02P8OEaM9ZGYgMNKUTJAE0C+d9+SO9PoFLR036vs670 s5vRz8qsXyQARWXEf8SrxJxILc8GgIbMTSeJE= Received: by 10.90.66.14 with SMTP id o14mr61206aga.3.1250185518127; Thu, 13 Aug 2009 10:45:18 -0700 (PDT) Received: by 10.176.94.14 with SMTP id r14gr1580yqb.0; Thu, 13 Aug 2009 10:45:10 -0700 (PDT) X-Sender: jftucker@gmail.com X-Apparently-To: rack-devel@googlegroups.com Received: by 10.211.168.5 with SMTP id v5mr651255ebo.1.1250185509576; Thu, 13 Aug 2009 10:45:09 -0700 (PDT) Return-Path: Received: from mail-ew0-f216.google.com (mail-ew0-f216.google.com [209.85.219.216]) by gmr-mx.google.com with ESMTP id 14si121258ewy.5.2009.08.13.10.45.08; Thu, 13 Aug 2009 10:45:08 -0700 (PDT) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 209.85.219.216 as permitted sender) client-ip=209.85.219.216; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jftucker@gmail.com designates 209.85.219.216 as permitted sender) smtp.mail=jftucker@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by ewy12 with SMTP id 12so297754ewy.24 for ; Thu, 13 Aug 2009 10:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=RdR41dZdE9xELbEtiyLo5TN87f2fLxMjB4YX+2zG1u4=; b=VdEM/e2x2ABqKl7rE3ilvzS2q59e0wlFT/XMDZ1tRnYk1gGLteTHtGu/AGhJ0VcOFv flgN/5pUfHTN976W5jlkhu2dqrGgeX2rS1BSkPsLPlx9LSoXZlC6pENY3fuB9GMlD/mF mwUyXpmFzxgHaRmm5oy+nAQxBfW9+bwuZymM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=MXdCidJ/ef8W6dMCWrvMHAScOntvpoaZn6EHz6pVDsOXr0o42k1jQbJpZYBIBt8DZP Yp8lJo6zHXFJkki8xnWZanJczzq6R3e3QCIzhfMllzIR5heHhS5PH3EcuHOC9bqCWotD aSKpvtDyxeqauLtb9yLy82/BJrMcDULXbZVZk= Received: by 10.216.11.67 with SMTP id 45mr237944wew.53.1250185507175; Thu, 13 Aug 2009 10:45:07 -0700 (PDT) Return-Path: Received: from ?192.168.1.213? (bb-87-81-237-21.ukonline.co.uk [87.81.237.21]) by mx.google.com with ESMTPS id q9sm210053gve.2.2009.08.13.10.45.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Aug 2009 10:45:06 -0700 (PDT) Message-Id: <9E31E866-6FFE-4BFB-B89F-98D85FC4D7F4@gmail.com> From: James Tucker To: rack-devel@googlegroups.com In-Reply-To: <2a8d4a710908131004i2cef7cb7lc0be17ae7fe7619f@mail.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-2--852118413 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Bloat? Date: Thu, 13 Aug 2009 18:45:04 +0100 References: <2a8d4a710908131004i2cef7cb7lc0be17ae7fe7619f@mail.gmail.com> X-Mailer: Apple Mail (2.936) Reply-To: rack-devel@googlegroups.com Sender: rack-devel@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rack-devel@googlegroups.com; contact rack-devel+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rack-devel@googlegroups.com X-BeenThere: rack-devel@googlegroups.com --Apple-Mail-2--852118413 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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 autoloaded 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 --Apple-Mail-2--852118413 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
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

= --Apple-Mail-2--852118413--