List Info

Thread: Why Apache and Mongrel?




Why Apache and Mongrel?
user name
2006-10-16 18:15:30
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
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

Why Apache and Mongrel?
user name
2006-10-16 18:52:57
On 10/16/06, Bill Fly < billflyprogrammer.net">billflyprogrammer.net> wrote:
Why does InstantRails include Apache?&nbsp; 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
Why Apache and Mongrel?
user name
2006-10-16 20:21:55
-----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
mortondadgrmm.net



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFM+nmUy30ODPkzl0RAtmeAKCHpVV3z/WKSgIp96FtBzNhx2I9EwCg
ibPO
KmYEKXlzfxx7f3PDxKWb3CY=
=Mw7+
-----END PGP SIGNATURE-----
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

Why Apache and Mongrel?
user name
2006-10-16 20:36:40
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
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

Why Apache and Mongrel?
user name
2006-10-17 15:45:12
-----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/nAjQramP9iJ237Q9HgACg
kDwD
N11pk+w08kBCsdEVJSEioak=
=JBGd
-----END PGP SIGNATURE-----
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

Why Apache and Mongrel?
user name
2006-10-17 19:29:00
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/nAjQramP9iJ237Q9HgACg
kDwD
> N11pk+w08kBCsdEVJSEioak=
> =JBGd
> -----END PGP SIGNATURE-----
> _______________________________________________
> Instantrails-users mailing list
> Instantrails-usersrubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users

>
>   

_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

Why Apache and Mongrel?
user name
2006-10-17 19:51:10


On 10/17/06, Dave Langston < listsdavidlangston.com">listsdavidlangston.com>; wrote:
IR Developers,

Have you looked at the Mysql tools (
http://www.mysql.com/products/tools/ ). &nbsp;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.&nbsp; 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
>&gt; for phpmysql.&nbsp;  I suppose it's useful in those circumstances where you
>&gt;
>
&gt; We are planning to have IR be multiplatform; SQLyog is only for windows.
&gt;
>
&gt; - --
> David Morton
>; Maia Mailguard&nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp; - http://www.maiamailguard.com
&gt; 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-usersrubyforge.org">Instantrails-usersrubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
>
&gt;

_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org">Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users



--
===Tanner Burson===
tanner.bursongmail.com">tanner.bursongmail.com
http://tannerburson.com &nbsp; <---Might even work one day...
Why Apache and Mongrel?
user name
2006-10-17 20:57:47
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.
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )