Dragonfly - a web framework for newLISP

Started by hilti, June 26, 2009, 02:51:13 AM

Previous topic - Next topic

hilti

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/">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

cormullion

#1
It's cool!



Am I supposed to be picking up the css styles? I'm seeing the plain old Times on white background...

hilti

#2
cormullion, feel free to do so.



I just added a twitter search function including the generation of some nice bubbles.

Here's a screenshot



http://www.marchildmann.de/dragonfly_twitter.png">



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

ale870

#3
It is very interesting!

Thank you! I will check it as soon as possible (I think it contains a big potential!)
--

ale870

#4
A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly".

See here:



http://www.opera.com/dragonfly/">//http://www.opera.com/dragonfly/



You could have problems from Opera company... since because they are in a similar working area: web...
--

hilti

#5
Quote from: "ale870"A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly".

See here:



http://www.opera.com/dragonfly/">//http://www.opera.com/dragonfly/



You could have problems from Opera company... since because they are in a similar working area: web...


Hi,



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

hilti

#6
I love the speed of newLISP!!!



Check out this picture in my blog post:

http://dragonfly-newlisp.blogspot.com/2009/07/i-love-speed-of-newlisp.html">http://dragonfly-newlisp.blogspot.com/2 ... wlisp.html">http://dragonfly-newlisp.blogspot.com/2009/07/i-love-speed-of-newlisp.html
--()o Dragonfly web framework for newLISP

http://dragonfly.apptruck.de\">http://dragonfly.apptruck.de

ale870

#7
Yes I agrree with you, newList is very fast!

In fact I'm using it as scripting language for a new 2d game engine I'm creating!
--

cormullion

#8
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:


(define headers '(("Content-type" "text/html")))

didn't work. But:


(define headers '(("Content-Type" "text/html")))

did. Must be some FreeBSD thing...



Jeff and Hilti: thanks for your efforts!

m35

#9
Quote from: "hilti"
Quote from: "ale870"A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly".

See here:



http://www.opera.com/dragonfly/">//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" ...

Fans of a certain web site that would humorously respond to weekly emails might enjoy a slight name change to "Dagronfly" (http://www.homestarrunner.com/sbemail58.html">I said consummate v's! Consummate!)

hilti

#10
WOW! So great to see it working on Your website.



hilti
--()o Dragonfly web framework for newLISP

http://dragonfly.apptruck.de\">http://dragonfly.apptruck.de

ale870

#11
Quote from: "m35"
Quote from: "hilti"
Quote from: "ale870"A note: carefully check the name of your framework, since Opera Browser has a debugger called "Dragonfly".

See here:



http://www.opera.com/dragonfly/">//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" ...

Fans of a certain web site that would humorously respond to weekly emails might enjoy a slight name change to "Dagronfly" (http://www.homestarrunner.com/sbemail58.html">I said consummate v's! Consummate!)


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

#12
(See http://en.wikipedia.org/wiki/Sbemail#Strong_Bad_Email">sbemail)



Hilti - I'm looking at dragonfly v12 now!



If you made Dragonfly:listener able to accept single queries such as "http://www.example.com/?teststring">www.example.com/?teststring", then could I use .htaccess mod_rewrite to redirect URIs of the form "http://www.example.com/teststring">www.example.com/teststring" to "http://www.example.com/?teststring">www.example.com/?teststring"? Not quite sure about your 'action' yet...



Cheers!

hilti

#13
Quote from: "cormullion"
If you made Dragonfly:listener able to accept single queries such as "http://www.example.com/?teststring">www.example.com/?teststring", then could I use .htaccess mod_rewrite to redirect URIs of the form "http://www.example.com/teststring">www.example.com/teststring" to "http://www.example.com/?teststring">www.example.com/?teststring"? Not quite sure about your 'action' yet...


Hi!



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

Lutz

#14
Quotebecause newLISP always returns the 200 status code in CGI mode. Maybe I'm not finding the right switch ...


You can force a different status code and text using the "Status: ..." directive from the CGI specification. This is described here:



http://www.newlisp.org/downloads/CodePatterns.html#toc-22">http://www.newlisp.org/downloads/CodePa ... tml#toc-22">http://www.newlisp.org/downloads/CodePatterns.html#toc-22



in the sub chapter: "CGI processing in HTTP mode"