Search the web
Sign In
New User? Sign Up
ClearSilver
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ClearSilver for C CGI bindings   Message List  
Reply | Forward Message #1229 of 1347 |
RE: ClearSilver for C CGI bindings


Hey Nikolai,

Our permissions and authentications are controlled via the
htpasswd/htaccess
utility which is very common to Apache-style web servers.

Could you elaborate more on the single-CGI page architecture?
How do you differentiate pages? (using a main.cgi?Page=12 method?)


Thanks,
Liran.


(Sorry for the top-posting, my email client at work... well, suck for a
lack of a better word).



-----Original Message-----
From: Nikolai Kondrashov [mailto:Nikolai.Kondrashov@...]
Sent: Thursday, November 13, 2008 2:48 PM
To: Liran Tal
Cc: blong@...; David Jeske; ClearSilver@yahoogroups.com
Subject: Re: ClearSilver for C CGI bindings

Liran Tal wrote:
> I would love to hear about other "live" examples implemented in C for
> ClearSilver usage as it's what we are going for.
>
> In regards to the model, we're talking about a configuration for a
> router's settings web application and I was thinking of implementing
it in
> such way that each configuration/status page is a CGI program of it's
own
> with it's own cs template and there will probably be a single hdf file
> which aggregates all the data.
>
> In this manner too, I would be happy to hear of ideas for improvements
> or a "better way to do it" comments.
Well, we're using it exactly for such purpose. Currently our
web-interface
has over a hundred pages and we use it almost to its full potential.
Despite
a few minor issues, ClearSilver is great for such thing. Thanks Brandon
and
others :)!

However, we use different architecture: there is only one CGI program
which
handles authentication, access control, general markup, template
rendering,
navigation and request routing across pages and form processing modules.
This way, when adding another page or form, you only have to worry about
actual form dataset processing/output and markup.

Sincerely,
Nick


********************************************
This outgoing mail message was scanned by McAfee GroupShield Engine




Thu Nov 13, 2008 2:33 pm

L.Tal@...
Send Email Send Email

Forward
Message #1229 of 1347 |
Expand Messages Author Sort by Date

Hey everyone, The website documentation doesn't cover in great detail the C programming logic to create a CGI. I have looked at the examples in the the cgi/...
Liran Tal
L.Tal@...
Send Email
Nov 12, 2008
4:18 pm

You can see an example image-server CGI written in C in the "imd" directory. The API is mostly the same in each language, so the brief tutorial written for the...
David Jeske
jeskeca
Offline Send Email
Nov 12, 2008
4:37 pm

The clearsilver model currently lacks a "top level" idea of how to accept and dispatch different types of requests. The closest we've come to releasing...
Brandon Long
blong42
Offline Send Email
Nov 12, 2008
11:19 pm

I would love to hear about other "live" examples implemented in C for ClearSilver usage as it's what we are going for. In regards to the model, we're talking...
Liran Tal
L.Tal@...
Send Email
Nov 13, 2008
12:31 pm

... Well, we're using it exactly for such purpose. Currently our web-interface has over a hundred pages and we use it almost to its full potential. Despite a...
Nikolai Kondrashov
nikolai.kond...
Offline Send Email
Nov 13, 2008
12:47 pm

Hey Nikolai, Our permissions and authentications are controlled via the htpasswd/htaccess utility which is very common to Apache-style web servers. Could you...
Liran Tal
L.Tal@...
Send Email
Nov 13, 2008
2:33 pm

... Yes, it is great unless you need session control and complex authentication and access control logic. ... No, we're using clean URL's and receiving paths...
Nikolai Kondrashov
nikolai.kond...
Offline Send Email
Nov 13, 2008
2:42 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help