regd databases and networking in squeak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

regd databases and networking in squeak

Navodit Kaushik
Hi

I am trying to learn more about using databases  and
using networking in Squeak. Can anyone please suggest
some good starting points? For databases, I would be
needing to set up a database for my project at
squeaksource.com so I am looking for something which
would enable that. For networking, I just want to
start by learning some basics about how network access
works in Squeak. Any pointers would be highly
appreciated. Thanks

Navodit


 
____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

RE: regd databases and networking in squeak

Ron Teitelbaum
Hi Navodit,

The easiest thing you can do to attach a database is to use ODBC.  If you
have on your system an ODBC Driver say like Dbase or Access then you can
just use a file.  You set up an ODBC connection and then use SQL to access
your data.  The best part of doing this is that you don't need to have
Access or Dbase on your system since ODBC does all the work for you.

Review the ODBC packages on SqueakMap for details.

For networking it really depends on what you are trying to do.  If you are
just looking for networking access to a database then you have that with the
ODBC package.

If you are looking for more advanced Database tools then consider using
PostgreSQL and Glorp.  This is a much more complicated so if you are new to
this I'd stick with ODBC until you get your feet wet.

Please feel free to ask questions!  

Happy coding,

Ron Teitelbaum
President / Principal Software Engineer
US Medical Record Specialists
www.usmedrec.com

> -----Original Message-----
> From: Navodit Kaushik
>
> Hi
>
> I am trying to learn more about using databases  and
> using networking in Squeak. Can anyone please suggest
> some good starting points? For databases, I would be
> needing to set up a database for my project at
> squeaksource.com so I am looking for something which
> would enable that. For networking, I just want to
> start by learning some basics about how network access
> works in Squeak. Any pointers would be highly
> appreciated. Thanks
>
> Navodit
>
>
>


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

RE: regd databases and networking in squeak

Navodit Kaushik
Hi Ron

Thanks for the very quick response. Basically what I
am trying to do is as follows:

1. Set up a database at squeaksource.com which has
data like Squeak packages, classes, methods etc. i.e.
kind of a history database which stores information
about squeak packages, classes uptill a particular
release...

2. Next thing I want to do is to be able to connect to
this database over the internet (i.e. network access
to the database) and download packages etc from this
database.

So my questions are:

1. What would be the best choice to be able to set up
a database at squeaksource.com which has some data.
Someone suggested Magma to me but I am not sure if it
is the correct choice for this.
2. What packages would I need to be able to access
this database across the network (I guess this wd
depend on the database used in 1 above!)

Thanks

Navodit
--- Ron Teitelbaum <[hidden email]> wrote:

> Hi Navodit,
>
> The easiest thing you can do to attach a database is
> to use ODBC.  If you
> have on your system an ODBC Driver say like Dbase or
> Access then you can
> just use a file.  You set up an ODBC connection and
> then use SQL to access
> your data.  The best part of doing this is that you
> don't need to have
> Access or Dbase on your system since ODBC does all
> the work for you.
>
> Review the ODBC packages on SqueakMap for details.
>
> For networking it really depends on what you are
> trying to do.  If you are
> just looking for networking access to a database
> then you have that with the
> ODBC package.
>
> If you are looking for more advanced Database tools
> then consider using
> PostgreSQL and Glorp.  This is a much more
> complicated so if you are new to
> this I'd stick with ODBC until you get your feet
> wet.
>
> Please feel free to ask questions!  
>
> Happy coding,
>
> Ron Teitelbaum
> President / Principal Software Engineer
> US Medical Record Specialists
> www.usmedrec.com
>
> > -----Original Message-----
> > From: Navodit Kaushik
> >
> > Hi
> >
> > I am trying to learn more about using databases
> and
> > using networking in Squeak. Can anyone please
> suggest
> > some good starting points? For databases, I would
> be
> > needing to set up a database for my project at
> > squeaksource.com so I am looking for something
> which
> > would enable that. For networking, I just want to
> > start by learning some basics about how network
> access
> > works in Squeak. Any pointers would be highly
> > appreciated. Thanks
> >
> > Navodit
> >
> >
> >
>
>
>



 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

RE: regd databases and networking in squeak

Ron Teitelbaum
Hi Novodit,

Ok I see.  What you need to do is create a package in squeaksource.  Then
you use Monticello to access squeaksource from your squeak image.  All of
the database functionality is already there, and it works with Monticello.  

See http://wiki.squeak.org/squeak/43 for more information about how to use
Monticello.

Let me know if you have questions about how it works, but basically it's a
version manager for storing squeak code.  It has a full history and version
numbers.  

Hope that helps! Happy coding,

-Ron

> -----Original Message-----
> From: Navodit Kaushik
>
> Hi Ron
>
> Thanks for the very quick response. Basically what I
> am trying to do is as follows:
>
> 1. Set up a database at squeaksource.com which has
> data like Squeak packages, classes, methods etc. i.e.
> kind of a history database which stores information
> about squeak packages, classes uptill a particular
> release...
>
> 2. Next thing I want to do is to be able to connect to
> this database over the internet (i.e. network access
> to the database) and download packages etc from this
> database.
>
> So my questions are:
>
> 1. What would be the best choice to be able to set up
> a database at squeaksource.com which has some data.
> Someone suggested Magma to me but I am not sure if it
> is the correct choice for this.
> 2. What packages would I need to be able to access
> this database across the network (I guess this wd
> depend on the database used in 1 above!)
>
> Thanks
>
> Navodit
> --- Ron Teitelbaum <[hidden email]> wrote:
>
> > Hi Navodit,
> >
> > The easiest thing you can do to attach a database is
> > to use ODBC.  If you
> > have on your system an ODBC Driver say like Dbase or
> > Access then you can
> > just use a file.  You set up an ODBC connection and
> > then use SQL to access
> > your data.  The best part of doing this is that you
> > don't need to have
> > Access or Dbase on your system since ODBC does all
> > the work for you.
> >
> > Review the ODBC packages on SqueakMap for details.
> >
> > For networking it really depends on what you are
> > trying to do.  If you are
> > just looking for networking access to a database
> > then you have that with the
> > ODBC package.
> >
> > If you are looking for more advanced Database tools
> > then consider using
> > PostgreSQL and Glorp.  This is a much more
> > complicated so if you are new to
> > this I'd stick with ODBC until you get your feet
> > wet.
> >
> > Please feel free to ask questions!
> >
> > Happy coding,
> >
> > Ron Teitelbaum
> > President / Principal Software Engineer
> > US Medical Record Specialists
> > www.usmedrec.com
> >
> > > -----Original Message-----
> > > From: Navodit Kaushik
> > >
> > > Hi
> > >
> > > I am trying to learn more about using databases
> > and
> > > using networking in Squeak. Can anyone please
> > suggest
> > > some good starting points? For databases, I would
> > be
> > > needing to set up a database for my project at
> > > squeaksource.com so I am looking for something
> > which
> > > would enable that. For networking, I just want to
> > > start by learning some basics about how network
> > access
> > > works in Squeak. Any pointers would be highly
> > > appreciated. Thanks
> > >
> > > Navodit
> > >
> > >
> > >
> >
> >
> >
>
>
>
>
> __________________________________________________________________________
> __________
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews at Yahoo!
> Games.
> http://videogames.yahoo.com/platform?platform=120121
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: regd databases and networking in squeak

David Mitchell-10
In reply to this post by Navodit Kaushik
Look up Lex Spoon's chapter on Squeak networking:
www.iam.unibe.ch/~ducasse/FreeBooks/CollectiveNBlueBook/parsia%202.pdf

For client-server network programming, you might look at
MaClientServer, which is part of Magma, an OO database for Squeak. You
can load it separately from Magma. Search mail archives and Squeak IRC
for references.

On 4/6/07, Navodit Kaushik <[hidden email]> wrote:

> Hi
>
> I am trying to learn more about using databases  and
> using networking in Squeak. Can anyone please suggest
> some good starting points? For databases, I would be
> needing to set up a database for my project at
> squeaksource.com so I am looking for something which
> would enable that. For networking, I just want to
> start by learning some basics about how network access
> works in Squeak. Any pointers would be highly
> appreciated. Thanks
>
> Navodit
>
>
>
> ____________________________________________________________________________________
> Looking for earth-friendly autos?
> Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
> http://autos.yahoo.com/green_center/
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners