Dragonfly - a web framework for newLISP

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

Previous topic - Next topic

cormullion

#30
i do!  http://unbalanced-parentheses.nfshost.com/">//http://unbalanced-parentheses.nfshost.com/



I think it's great. I've found Dragonfly easy to use and reliable. The only problem is that when a new version is released it's quite hard to work out which files to install, which to modify, and which to ignore. Perhaps that's a difficult architecture to design...

Lutz

#31
http://www.ohloh.net/p/dragonfly-newlisp">http://www.ohloh.net/p/dragonfly-newlisp

Kirill

#32
Quote from: "hilti"... counting 37 downloads at Google Code :-)



I'm just wondering if anybody else uses Dragonfly for his projects? One project beside my own website is here: http://daycaster.org">//http://daycaster.org



Cheers

Hilti (working on version 0.20)


Not yet, but I consider dragonfly (to try it out) for a PSI server.

hilti

#33
Quote from: "Kirill"


Not yet, but I consider dragonfly (to try it out) for a PSI server.


Hi Kirill



what is a PSI server? Never heard of it.
--()o Dragonfly web framework for newLISP

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

hilti

#34
Quote from: "Lutz"http://www.ohloh.net/p/dragonfly-newlisp">http://www.ohloh.net/p/dragonfly-newlisp


That's just me, Lutz ;-)
--()o Dragonfly web framework for newLISP

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

Kirill

#35
Quote from: "hilti"
Hi Kirill



what is a PSI server? Never heard of it.


PSI stands for Public Subject Identifier (in the Topic Maps world that is). A PSI is an URI that servers two purposes: as a unique identifier for a subject and as a URL which can be entered into a browser to provide the end-user a description of what the subject refers to.



http://psi.ontopedia.net/">psi.ontopedia.net is a PSI server.



-- Kirill

joejoe

#36
Quote from: "joejoe"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)


i either misread or youve updated the license to gplv3 (like nL) !! :D



thanks for this, hilti! im downloading right now!

hilti

#37
That's right. I've updated the license to GPL (v3), because I didn't see any difference (for my intention) between MIT License or GPL.



I just want the Dragonfly to be open source and free available.



Cheers!

Hilti
--()o Dragonfly web framework for newLISP

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

hilti

#38
http://dragonfly.nfshost.com[/url]



The Dragonfly ajax functions in action:

http://dragonfly.nfshost.com/dragonfly_ajax/index">//http://dragonfly.nfshost.com/dragonfly_ajax/index



Download it here

http://code.google.com/p/dragonfly-newlisp/downloads/list">//http://code.google.com/p/dragonfly-newlisp/downloads/list



Have fun!

Hilti
--()o Dragonfly web framework for newLISP

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

cormullion

#39
Cool! Will upgrade soon...

joejoe

#40
the user guide really helped me get up and running in less than a minute. thanks!

cormullion

#41
Is your new version 0.50 available to non-Mercurial users yes?



(I gather Mercurial is another thing like git or subversion...?)

itistoday

#42
Quote from: "cormullion"Is your new version 0.50 available to non-Mercurial users yes?



(I gather Mercurial is another thing like git or subversion...?)


It will be ready sometime this month, but there's still some work to be done before we make a release.



Mercurial is a DVCS like git (SVN is not a DVCS), it's pretty simple to use, just takes http://mercurial.selenic.com/">a little reading and then you'll get the hang of it.



Short instructions:



To grab a copy from the repo:


$ hg clone https://dragonfly-newlisp.googlecode.com/hg/ dragonfly-newlisp

To update your copy (I would do this once a day):


$ cd dragonfly-newlisp
$ hg pull -uf


If you're not committing code, that's really all you'll need to do anyway. :-)



To run the example-site, read the README and the INSTALL documents.
Get your Objective newLISP groove on.

cormullion

#43
thanks... I managed to obtain a copy (thanks!)



I'm now trying to copy my content over to the new framework. It's not going too badly, but there are a lot of changes from the version I'm using!



Edit:



OK, I haven't figured it out yet. These are the kind of URIs I want to handle:



http://unbalanced-parentheses.nfshost.com/syntaxmatters">http://unbalanced-parentheses.nfshost.com/syntaxmatters

http://unbalanced-parentheses.nfshost.com/newlispatwikibooksvolunteerswanted">http://unbalanced-parentheses.nfshost.c ... eerswanted">http://unbalanced-parentheses.nfshost.com/newlispatwikibooksvolunteerswanted

http://unbalanced-parentheses.nfshost.com/jack-the-glypher/">http://unbalanced-parentheses.nfshost.c ... e-glypher/">http://unbalanced-parentheses.nfshost.com/jack-the-glypher/  -> directory containing index.cgi

http://unbalanced-parentheses.nfshost.com/downloads">http://unbalanced-parentheses.nfshost.com/downloads          -> directory



I used to test the selector:


(if (= "" Dragonfly:selector)

and provide a default page if I didn't find the string I wanted. What's the mechanism for doing this?

hilti

#44
Hi Cormullion!



Just a short help to Your "downloads" problem: You could use a static route to it described on this page in the User Guide: http://www.rundragonfly.com/dragonfly_routes">//http://www.rundragonfly.com/dragonfly_routes



Put this into your view
<% (link_to "Downloads" "downloads") %>

About the selector:

I've to test some things out, but maybe you can create your own route described here

http://www.rundragonfly.com/dragonfly_create_routes">//http://www.rundragonfly.com/dragonfly_create_routes



Hope this helps!

Hilti
--()o Dragonfly web framework for newLISP

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