Re: [Chicken-users] Building a web store in Chicken scheme

2012-05-08 Thread Christian Kellermann
* Christian Kellermann  [120509 08:08]:
> * Carl Douglas  [120509 04:36]:
>
> > To add it to the master eggs index I suppose it would need a wiki
> > page and someone with subversion access to update the file?
>
> No, nowadays DVCS egg repos are supported, you need to tell us to add
> it to the index though. As for the wiki you can add the page there
> yourself, it is a wiki after all...

The way on how to do this is described here:
http://wiki.call-cc.org/releasing-your-egg

Thanks again,

Christian

--
9 out of 10 voices in my head say, that I am crazy,
one is humming.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Building a web store in Chicken scheme

2012-05-08 Thread Christian Kellermann
* Carl Douglas  [120509 04:36]:

> To add it to the master eggs index I suppose it would need a wiki
> page and someone with subversion access to update the file?

No, nowadays DVCS egg repos are supported, you need to tell us to add
it to the index though. As for the wiki you can add the page there
yourself, it is a wiki after all...

Thanks for the egg!

Christian

--
9 out of 10 voices in my head say, that I am crazy,
one is humming.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Building a web store in Chicken scheme

2012-05-08 Thread Carl Douglas

On 09/05/2012, at 05:50, Christian Kellermann  wrote:

> * Christian Kellermann  [120508 21:45]:
>>> I need functions like "my_sql_real_escape_string" and "htmlspecialchars" in
>>> php. I also need to know how to add ssl support (is it only configuration?).
>>> If someone is willing to help me I will be glad.
>> 
>> As for SQL there are several extensions, we call them eggs,
>> available. All of them help you building your queries and taking care
>> of escaping your variable input if necessary.
> 
> Oh, one more thing. The supported SQL database in chicken land is
> postgres. So far noone has written bindings for mysql. So if you need
> mysql support you would have to do this first.

For the record, I wrote such a binding using chicken 4.7, it is here:

https://github.com/carld/mysql-client.egg

To add it to the master eggs index I suppose it would need a wiki page and 
someone with subversion access to update the file?

Thanks,
Carl

> 
> On the other hand people that have dealt with both (I haven't) suggest
> that you should consider to switch to a real database and use postgres
> :)
> 
> Cheers,
> 
> Christian
> 
> --
> 9 out of 10 voices in my head say, that I am crazy,
> one is humming.
> 
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Building a web store in Chicken scheme

2012-05-08 Thread Stephen Eilert
On Tue, May 8, 2012 at 9:30 AM, yuval  wrote:

> First question If I will use the chicken scheme fastcgi Is it possible to
> find a cheap deployment host on the Internet.


Nowadays, this is not much of a problem. There are many options, such as
Heroku or Amazon EC2 instances (*almost* free under the free tier).


-- Stephen
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Building a web store in Chicken scheme

2012-05-08 Thread Kon Lovett

On May 8, 2012, at 12:50 PM, Christian Kellermann wrote:

> * Christian Kellermann  [120508 21:45]:
>>> I need functions like "my_sql_real_escape_string" and "htmlspecialchars" in
>>> php. I also need to know how to add ssl support (is it only configuration?).
>>> If someone is willing to help me I will be glad.
>> 
>> As for SQL there are several extensions, we call them eggs,
>> available. All of them help you building your queries and taking care
>> of escaping your variable input if necessary.
> 
> Oh, one more thing. The supported SQL database in chicken land is
> postgres. So far noone has written bindings for mysql. So if you need
> mysql support you would have to do this first.

The Chicken 3 vintage mysql egg might be a place to start.

> 
> On the other hand people that have dealt with both (I haven't) suggest
> that you should consider to switch to a real database and use postgres
> :)
> 
> Cheers,
> 
> Christian
> 
> --
> 9 out of 10 voices in my head say, that I am crazy,
> one is humming.
> 
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Building a web store in Chicken scheme

2012-05-08 Thread Christian Kellermann
* Christian Kellermann  [120508 21:45]:
> > I need functions like "my_sql_real_escape_string" and "htmlspecialchars" in
> > php. I also need to know how to add ssl support (is it only configuration?).
> > If someone is willing to help me I will be glad.
>
> As for SQL there are several extensions, we call them eggs,
> available. All of them help you building your queries and taking care
> of escaping your variable input if necessary.

Oh, one more thing. The supported SQL database in chicken land is
postgres. So far noone has written bindings for mysql. So if you need
mysql support you would have to do this first.

On the other hand people that have dealt with both (I haven't) suggest
that you should consider to switch to a real database and use postgres
:)

Cheers,

Christian

--
9 out of 10 voices in my head say, that I am crazy,
one is humming.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Building a web store in Chicken scheme

2012-05-08 Thread Christian Kellermann
Hi Yuval, welcome to Chicken Scheme!

* yuval  [120508 14:33]:

> I want to build an open source web store (OpenCart clone) In Chicken scheme.
> here is my project prototype repository:
> https://github.com/ylando2/OpenCart-in-scheme.

This sounds like a true quest for fame and honor! Also it sounds like
a huge undertaking. So first things first...

> First question If I will use
> the chicken scheme fastcgi Is it possible to find a cheap deployment host
> on the Internet.

The last hype would be to host chicken on a heroku instance. There
has been an announcement mail here with a recipe on how to do
that. http://www.mail-archive.com/chicken-users@nongnu.org/msg14662.html

If you don't quite understand it now, don't worry and save it for
future reference.

> I need functions like "my_sql_real_escape_string" and "htmlspecialchars" in
> php. I also need to know how to add ssl support (is it only configuration?).
> If someone is willing to help me I will be glad.

As for SQL there are several extensions, we call them eggs,
available. All of them help you building your queries and taking care
of escaping your variable input if necessary.

You can search all the available extensions and the manual using the
web search chickadee: http://api.call-cc.org

Since your questions sound to me like you still need some time to get
accustomed to the crazy chicken bunch, let me recommend the Tutorial
section on the wiki (http://wiki.call-cc.org/tutorials) as well as the
beginners guide (http://wiki.call-cc.org/chickenista-guide) which will
give you an overview of all the related bits and pieces.

I hope this helps a bit clearing up the initial confusion.

Welcome on board!

Christian

--
9 out of 10 voices in my head say, that I am crazy,
one is humming.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Building a web store in Chicken scheme

2012-05-08 Thread yuval
Hello

I want to build an open source web store (OpenCart clone) In Chicken scheme.
here is my project prototype repository:
https://github.com/ylando2/OpenCart-in-scheme. First question If I will use
the chicken scheme fastcgi Is it possible to find a cheap deployment host
on the Internet. Most of the web stores are very small (some need only to
show the product catalog).
I need functions like "my_sql_real_escape_string" and "htmlspecialchars" in
php. I also need to know how to add ssl support (is it only configuration?).
If someone is willing to help me I will be glad.

thanks in advance
Yuval
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users