1. help to develop a web application
- Posted by GeorgeWalters Jun 05, 2009
- 1083 views
I would like to add a web application to my other ap (www.acu-track.com) and need someone to point me toward what to use and perhaps give me a sample snippits of code. Or simply what tools to use to write it using EU. Any help would be greatly appreciated. Thanks.
George
2. Re: help to develop a web application
- Posted by AlanOxley Jun 05, 2009
- 1065 views
Hello, assuming you have done a default Euphoria on windows, the doc to get you started is: c:\euphoria\doc\cgi.doc
HTH!
3. Re: help to develop a web application
- Posted by jeremy (admin) Jun 05, 2009
- 1110 views
I have started on a web app framework and it's working pretty good. I extracted it and then enhanced it quite a bit from the forum. It's much, much easier to use than pure CGI. It includes Kanarie for templates, FORM to routine translation (i.e. a form containing Name and Age could be translated into a routine call: on_form(sequence name, integer age)), it does data validation and will automatically re-issue forms with error messages/warnings, etc... (i.e. they forgot to fill in age or the age is 353 years).
You can download the web app framework from my SVN server: http://jeremy.cowgar.com/svn/intrigue/trunk/ ... There are more things I wish to do with it, especially add in SCGI and FastCGI front ends as well as mix it with a DBI to make things that much easier, however those things are a bit in the future. Right now it pretty capable. It comes with a simple example.
Jeremy
4. Re: help to develop a web application
- Posted by GeorgeWalters Jun 05, 2009
- 1075 views
Hello, assuming you have done a default Euphoria on windows, the doc to get you started is: c:\euphoria\doc\cgi.doc
HTH!
What version of EU are you referencing? I'll take a look. I'm currently using 2.4 but have several unzipped later versions.
5. Re: help to develop a web application
- Posted by GeorgeWalters Jun 05, 2009
- 1059 views
BTW: what version of EU is the forum written in??
6. Re: help to develop a web application
- Posted by jimcbrown (admin) Jun 05, 2009
- 1055 views
BTW: what version of EU is the forum written in??
An older svn rev of EU 4.0
the rev of eu 4.0 is updated each time the forum is updated, the forum is run as a translated-to-C program.
7. Re: help to develop a web application
- Posted by jeremy (admin) Jun 05, 2009
- 1061 views
Hm, the web framework I referenced (may be renamed webclay) is also for 4.0. It will not run in 3.1. I never use 3.1 any more, 4.0 is too nice
Jeremy
8. Re: help to develop a web application
- Posted by Lnettnay Jun 07, 2009
- 1066 views
I think you should also take a look at CK Lester's BBCMF (Building Blocks Content Management Framework).
There is a huge amount of work that has been put into it. I am really not sure why it doesn't get more focus here with more development interest, because really these days web apps are where a lot of focus is.
Jansek
9. Re: help to develop a web application
- Posted by useless Jun 07, 2009
- 1055 views
- Last edited Jun 08, 2009
A number of years ago, i had an interface on a commercial web host to send all communications to me at home, transparently to the browser. It made developing code at home so much easier. Heavy duty stuff like pics were cached on the commercial host, i served only html from here.
useless
10. Re: help to develop a web application
- Posted by AlanOxley Jun 08, 2009
- 1048 views
I have started on a web app framework and it's working pretty good. I extracted it and then enhanced it quite a bit from the forum. It's much, much easier to use than pure CGI. It includes Kanarie for templates, FORM to routine translation (i.e. a form containing Name and Age could be translated into a routine call: on_form(sequence name, integer age)), it does data validation and will automatically re-issue forms with error messages/warnings, etc... (i.e. they forgot to fill in age or the age is 353 years).
You can download the web app framework from my SVN server: http://jeremy.cowgar.com/svn/intrigue/trunk/ ... There are more things I wish to do with it, especially add in SCGI and FastCGI front ends as well as mix it with a DBI to make things that much easier, however those things are a bit in the future. Right now it pretty capable. It comes with a simple example.
Jeremy
Hi Jeremy, I can't seem to find some of your includes... from your intrigue.e :
include std/sequence.e include std/text.e include std/map.e as m include std/datetime.e as dt include std/pretty.e include std/get.e include errdisp.e public include cgi.e as cgi public include escape.e as esc include kanarie/kanarie.e as tmpl
I am still missing: std/sequence.e std/text.e std/map.e std/datetime.e (I have Cyreksoft's here, but probably its not the same as yours!)
Can you add these to your webpage, as well as any includes within the abovementioned?
Regards Alan
11. Re: help to develop a web application
- Posted by euphoric (admin) Jun 08, 2009
- 1025 views
I am still missing: std/sequence.e std/text.e std/map.e std/datetime.e (I have Cyreksoft's here, but probably its not the same as yours!)
Can you add these to your webpage, as well as any includes within the abovementioned?
Those are Euphoria v4.x standard include files. You should have them if you have v4.x installed.
12. Re: help to develop a web application
- Posted by AlanOxley Jun 08, 2009
- 1012 views
Oops... sorry, these are in the Euphoria v4.0a3 standard include library, I still use v3.1 normally. You developer guys really want to drag me into v4.0 kicking and screaming don't you ;))
Cheers Alan
13. Re: help to develop a web application
- Posted by mattlewis (admin) Jun 08, 2009
- 1026 views
Oops... sorry, these are in the Euphoria v4.0a3 standard include library, I still use v3.1 normally. You developer guys really want to drag me into v4.0 kicking and screaming don't you ;))
Sort of. We use it almost exclusively for two main reasons. First, we really like the new features. But also, by using it more, we find and fix more issues.
Matt
14. Re: help to develop a web application
- Posted by DerekParnell (admin) Jun 08, 2009
- 1027 views
We use it (V4.0) almost exclusively for two main reasons ...
The thought of reverting back to v3 sends shudders down my spine. It would be like coding with one hand tied behind your back.
15. Re: help to develop a web application
- Posted by jeremy (admin) Jun 08, 2009
- 952 views
We use it (V4.0) almost exclusively for two main reasons ...
The thought of reverting back to v3 sends shudders down my spine. It would be like coding with one hand tied behind your back.
Hear, Hear!
Jeremy