Dragonfly - a web framework for newLISP
Dragonfly - a web framework for newLISP
Hi newLISPER,
a week ago I started my project "Dragonfly". Now there's something to show, so it needs his own topic.
Currently Dragonfly (version 0.06) includes the following features
- generating HTML tables from lists
- generate several HTML tags (e.g. image, script, rss)
- a sliding panel with debugging information
- a very simple page-controller
- some basic functions for form generation
You can download on Google Code
http://code.google.com/p/dragonfly-newlisp/
I'd like to hear comments, feedback, ideas - just feel free to do.
Cheers
Marc aka Hilti
a week ago I started my project "Dragonfly". Now there's something to show, so it needs his own topic.
Currently Dragonfly (version 0.06) includes the following features
- generating HTML tables from lists
- generate several HTML tags (e.g. image, script, rss)
- a sliding panel with debugging information
- a very simple page-controller
- some basic functions for form generation
You can download on Google Code
http://code.google.com/p/dragonfly-newlisp/
I'd like to hear comments, feedback, ideas - just feel free to do.
Cheers
Marc aka Hilti
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
cormullion, feel free to do so.
I just added a twitter search function including the generation of some nice bubbles.
Here's a screenshot

Oh - rest in peace Michael Jackson!
Dragonfly 0.08 is updated on Google Code.
I just added a twitter search function including the generation of some nice bubbles.
Here's a screenshot

Oh - rest in peace Michael Jackson!
Dragonfly 0.08 is updated on Google Code.
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly".
See here:
http://www.opera.com/dragonfly/
You could have problems from Opera company... since because they are in a similar working area: web...
See here:
http://www.opera.com/dragonfly/
You could have problems from Opera company... since because they are in a similar working area: web...
--
Hi,ale870 wrote:A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly".
See here:
http://www.opera.com/dragonfly/
You could have problems from Opera company... since because they are in a similar working area: web...
I think the name "Dragonfly web framework" shouldn't get me into trouble. because there are a lot of projects or companies which include the name "Dragonfly" like "Dragonfly BSD", "Dragonfly Webdesign", "Dragonfly CMS" ...
Are there any lawyers in this forum who may help?
Best Regards and I hope You like my project. Version 0.10 is coming soon!!
hilti
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
I love the speed of newLISP!!!
Check out this picture in my blog post:
http://dragonfly-newlisp.blogspot.com/2 ... wlisp.html
Check out this picture in my blog post:
http://dragonfly-newlisp.blogspot.com/2 ... wlisp.html
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
unbalanced-parentheses is now running Dragonfly, although just serving up random posts from the archive at the moment. It's working, but only just!
Just one thing I had to change - weird, this one.
In web.lsp:
didn't work. But:
did. Must be some FreeBSD thing...
Jeff and Hilti: thanks for your efforts!
Just one thing I had to change - weird, this one.
In web.lsp:
Code: Select all
(define headers '(("Content-type" "text/html")))
Code: Select all
(define headers '(("Content-Type" "text/html")))
Jeff and Hilti: thanks for your efforts!
Fans of a certain web site that would humorously respond to weekly emails might enjoy a slight name change to "Dagronfly" (I said consummate v's! Consummate!)hilti wrote:I think the name "Dragonfly web framework" shouldn't get me into trouble. because there are a lot of projects or companies which include the name "Dragonfly" like "Dragonfly BSD", "Dragonfly Webdesign", "Dragonfly CMS" ...ale870 wrote:A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly".
See here:
http://www.opera.com/dragonfly/
You could have problems from Opera company... since because they are in a similar working area: web...
WOW! So great to see it working on Your website.
hilti
hilti
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
Hello @m35, but are you referring to me when you say "Fans of a certain web site that would humorously respond to weekly emails" ?!m35 wrote:Fans of a certain web site that would humorously respond to weekly emails might enjoy a slight name change to "Dagronfly" (I said consummate v's! Consummate!)hilti wrote:I think the name "Dragonfly web framework" shouldn't get me into trouble. because there are a lot of projects or companies which include the name "Dragonfly" like "Dragonfly BSD", "Dragonfly Webdesign", "Dragonfly CMS" ...ale870 wrote:A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly".
See here:
http://www.opera.com/dragonfly/
You could have problems from Opera company... since because they are in a similar working area: web...
--
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
(See sbemail)
Hilti - I'm looking at dragonfly v12 now!
If you made Dragonfly:listener able to accept single queries such as "www.example.com/?teststring", then could I use .htaccess mod_rewrite to redirect URIs of the form "www.example.com/teststring" to "www.example.com/?teststring"? Not quite sure about your 'action' yet...
Cheers!
Hilti - I'm looking at dragonfly v12 now!
If you made Dragonfly:listener able to accept single queries such as "www.example.com/?teststring", then could I use .htaccess mod_rewrite to redirect URIs of the form "www.example.com/teststring" to "www.example.com/?teststring"? Not quite sure about your 'action' yet...
Cheers!
Hi!cormullion wrote: If you made Dragonfly:listener able to accept single queries such as "www.example.com/?teststring", then could I use .htaccess mod_rewrite to redirect URIs of the form "www.example.com/teststring" to "www.example.com/?teststring"? Not quite sure about your 'action' yet...
Using htaccess mod_rewrite should be possible, but I didn't test it, because I just use newLISP as a webserver at the moment.
The "action" idea is about simulating something like a REST Interface, because newLISP always returns the 200 status code in CGI mode. Maybe I'm not finding the right switch ...
An "action" can be something like
/customer/show/1
/customer/findall
/customer/delete/1
You know what I mean?
cheers
hilti
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
You can force a different status code and text using the "Status: ..." directive from the CGI specification. This is described here:because newLISP always returns the 200 status code in CGI mode. Maybe I'm not finding the right switch ...
http://www.newlisp.org/downloads/CodePa ... tml#toc-22
in the sub chapter: "CGI processing in HTTP mode"
Ah no sorry ale870. I was making a (perhaps too obscure) reference to a bit of internet culture/humor. cormullion seems to have picked up on it and provided an informative link. :)ale870 wrote:Hello @m35, but are you referring to me when you say "Fans of a certain web site that would humorously respond to weekly emails" ?!
cormullion wrote:(See sbemail)
Just a short notice: Dragonfly version 0.17 is out!
Dragonfly 0.17 provides some cool functions for auto-loading modules and custom helpers. Just put them into the specified directories "helpers-active" or "modules-active" and Dragonfly loads them on startup.
This way the Dragonfly web framework keeps small and efficient. You just load what You need.
Download it now and have fun!
http://code.google.com/p/dragonfly-newl ... loads/list

Dragonfly 0.17 provides some cool functions for auto-loading modules and custom helpers. Just put them into the specified directories "helpers-active" or "modules-active" and Dragonfly loads them on startup.
This way the Dragonfly web framework keeps small and efficient. You just load what You need.
Download it now and have fun!
http://code.google.com/p/dragonfly-newl ... loads/list

--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
In these days I'm starting to work with Dojo framework, a language-independent AJAX client (one of the most famous). It is open source. See here:
http://www.dojotoolkit.org/
Since it is language independent, it means it can be used even from newLisp...
So I think you could start to introduce such framework (or another one) instead producing pure html.
Dojo works in xml and json (and newLisp can do that very well).
I think in this way to could give a BIG improvement to your framework (and a lot of work is done, since Dojo is stable and really well done!).
http://www.dojotoolkit.org/
Since it is language independent, it means it can be used even from newLisp...
So I think you could start to introduce such framework (or another one) instead producing pure html.
Dojo works in xml and json (and newLisp can do that very well).
I think in this way to could give a BIG improvement to your framework (and a lot of work is done, since Dojo is stable and really well done!).
--
On itself those kits are nice like http://qooxdoo.org/..
but a big disadvantgage I encountered is the speed and browser
compatibility...But they sure do have nice widgets ;-)
but a big disadvantgage I encountered is the speed and browser
compatibility...But they sure do have nice widgets ;-)
-- (define? (Cornflakes))
Hi Alessandro,ale870 wrote:Try to use Dojo (check the demos). There is a delay on first usage (download javascript: about 130kb) but the system is really responsive.
the Dojo Toolkit is really impressive. Although I like fancy AJAX-Stuff, drag & drop and those things I'm a bit aware of these bloated libraries. They're like MS Excel or Word where users just utilize 10% of the whole software.
Think about what users really need: isn't it a fast loading website, an interface/design which runs on mobiles like the iPhone too, content which is accessible by search engine bots.
If You try to load 130kb via Edge on a Mobile ... users will quit before they read Your first headline. And making things worse: most of the cool JS-Stuff won't really work in a touch environment like the iPhone.
cheers
Marc
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de
http://dragonfly.apptruck.de
dragonfly web framework license
hi hilti - looks like really cool code you've released.
im curious to know why you chose the mit license instead of the license that newlisp uses, the gpl? any chance you might consider the gpl for future releases?
thanks in any case! - :0)
im curious to know why you chose the mit license instead of the license that newlisp uses, the gpl? any chance you might consider the gpl for future releases?
thanks in any case! - :0)
-
- Posts: 608
- Joined: Mon Feb 05, 2007 1:04 am
- Location: Abbotsford, BC
- Contact:
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact: