Why does InstantRails include Apache? One uses Mongrel through the Manage Applications menu or WEBrick if you run Ruby script/server, so what does Apache do for InstantRails? Thanks, Bill
On 10/16/06, Bill Fly <billfly at programmer.net> wrote:> > Why does InstantRails include Apache? One uses Mongrel through the > Manage Applications menu or WEBrick if you run Ruby script/server, so > what does Apache do for InstantRails? > Thanks, > Bill >Three things come to mind: 1) When you''re almost ready to deploy into production, you can test you application in an environment that more closely approximates the production environment. 2) You can use IR as a lightweight production server. In this case Apache is necessary if you are serving multiple Rails apps, each with its own domain ( i.e., you need virtual hosting, which mongrel doesn''t provide). 3) Apache is needed to run the included MyPhpAdmin for administering your MySQL database. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061016/6015e392/attachment.html
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 16, 2006, at 1:15 PM, Bill Fly wrote:> Why does InstantRails include Apache? One uses Mongrel through the > Manage Applications menu or WEBrick if you run Ruby script/server, so > what does Apache do for InstantRails?Well, really, it doesn''t do much of anything for a single app, but it''s there as a placeholder to show that rails works with apache; Apache can host several sites (virtual hosting), whereas mongrel can''t... It''s also a placeholder until we get apache 1.3 replaced with apache 2.2, which can do the the load balancing to multiple mongrel. If you use IR for development and for a single app, just use mongrel. David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFM+nmUy30ODPkzl0RAtmeAKCHpVV3z/WKSgIp96FtBzNhx2I9EwCgibPO KmYEKXlzfxx7f3PDxKWb3CY=Mw7+ -----END PGP SIGNATURE-----
Now that SQL yog is open source and free I for one don''t see the need for phpmysql. I suppose it''s useful in those circumstances where you only have the MSQL listening on a local socket but in most dev environments that''s not the case. Having said that if one was to be truly minimalist one would use sqlite for development and mysql (or whatever) for production and testing and use migrations for all the schema changes so it would all work autmagically thanks to activerecord. In a perfect world of course. Just my $.02
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim Uckun wrote:> Now that SQL yog is open source and free I for one don''t see the need > for phpmysql. I suppose it''s useful in those circumstances where youWe are planning to have IR be multiplatform; SQLyog is only for windows. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFNPqIUy30ODPkzl0RAr7oAJ4lVH/ZvN/nAjQramP9iJ237Q9HgACgkDwD N11pk+w08kBCsdEVJSEioak=JBGd -----END PGP SIGNATURE-----
IR Developers, Have you looked at the Mysql tools ( http://www.mysql.com/products/tools/ ). They are cross platform and are available with same licensing as Mysql itself (and are generally more powerful than MyPhpAdmin IMO)... rgds, Dave L. David Morton wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tim Uckun wrote: > >> Now that SQL yog is open source and free I for one don''t see the need >> for phpmysql. I suppose it''s useful in those circumstances where you >> > > We are planning to have IR be multiplatform; SQLyog is only for windows. > > > - -- > David Morton > Maia Mailguard - http://www.maiamailguard.com > Morton Software Design and Consulting - http://www.dgrmm.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFNPqIUy30ODPkzl0RAr7oAJ4lVH/ZvN/nAjQramP9iJ237Q9HgACgkDwD > N11pk+w08kBCsdEVJSEioak> =JBGd > -----END PGP SIGNATURE----- > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >
On 10/17/06, Dave Langston <lists at davidlangston.com> wrote:> > IR Developers, > > Have you looked at the Mysql tools ( > http://www.mysql.com/products/tools/ ). They are cross platform and are > available with same licensing as Mysql itself (and are generally more > powerful than MyPhpAdmin IMO)...I have personally used them, and find it almost unbearably buggy on Linux. It''s useful in a pinch, but I''ve found myself diving into the mysql command line to avoid using that tool. rgds,> Dave L. > > > David Morton wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Tim Uckun wrote: > > > >> Now that SQL yog is open source and free I for one don''t see the need > >> for phpmysql. I suppose it''s useful in those circumstances where you > >> > > > > We are planning to have IR be multiplatform; SQLyog is only for windows. > > > > > > - -- > > David Morton > > Maia Mailguard - http://www.maiamailguard.com > > Morton Software Design and Consulting - http://www.dgrmm.net > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.2.2 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFFNPqIUy30ODPkzl0RAr7oAJ4lVH/ZvN/nAjQramP9iJ237Q9HgACgkDwD > > N11pk+w08kBCsdEVJSEioak> > =JBGd > > -----END PGP SIGNATURE----- > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-- ===Tanner Burson==tanner.burson at gmail.com http://tannerburson.com <---Might even work one day... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061017/cd145dbe/attachment.html
If you are going to include a mysql tool then I would think phpmysql would be one that has the smallest footprint and still be cross platform. Is there something like phpmysql written in rails? That would be ideal I would think.