On Wed, Jun 9, 2010 at 1:38 AM, Jakub Narebski <jnareb@xxxxxxxxx> wrote: > On Tue, 8 Jun 2010, Petr Baudis wrote: >> >> I thought we already discussed MVC and sort of agreed that it's an >> overkill at this point. At least that is still my opinion on it; I'm not >> opposed to MVC per se, but to me, this modularization is a good >> intermediate step even if we go the MVC way later, and doing MVC properly >> would mean much huger large-scale refactoring than just naming a module >> Gitweb::View instead of Gitweb::HTML. Let's do it not at all, or >> properly sometime later. I think it's well out-of-scope for GSoC. > > So it would be enough to have Gitweb with core of gitweb, gitweb.perl > top-level script, Gitweb::Write or something like that for new write > functionality and Gitweb::Util containing things that are needed by Gitweb > and by Gitweb::Write(r). Sidenote (something I meant to write, but forgot): SVN::Web[1][2] and Gitalist[3][4] might or might not be good example on how to split gitweb into modules. [1] http://p3rl.org/SVN::Web http://search.cpan.org/dist/SVN-Web/ [2] http://jc.ngo.org.uk/svnweb/jc/browse/nik/CPAN/SVN-Web/trunk/ [3] http://p3rl.org/Gitalist http://search.cpan.org/dist/Gitalist/ [4] http://github.com/broquaint/Gitalist -- Jakub Narebski -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html