Re: Sample application as showcase of Clojure DSL / Metaprogramming?

2011-09-26 Thread Tarantoga
Hello Alexey, Probably, russian is your primary language? Then look here for the examples of the DSL: 1. http://my-clojure.blogspot.com/search/label/DSL -- a simple embedded DSL for the application configuration; 2. Here (http://scala.by/meetups/2011/09/10/4.html) you may get the slides of my pre

Re: Something missing from the clojure compiler's java annotation support for gen-class and defrecord? Am I driving while bouncing off the guard rails?

2011-09-23 Thread Tarantoga
Deftype handles annotations and all the other features of java classes. Have a look here for an example: http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fmy-clojure.blogspot.com%2F2011%2F06%2Fweb-clojure.html On Sep 23, 10:11 pm, Warren

Clojure on Heroku

2011-07-26 Thread Tarantoga
Does anyone know how to create an autoincrementing ID field for a table schema on Heroku? It uses PostgreSQL and a common way for this DB is to create a sequence and then take default ID's from this sequence. But I haven't found a way to do something like that. I know that rails migrations do som

Re: Tutorial about web development with Clojure

2011-07-18 Thread Tarantoga
I have splitted it into two projects: the Clojure-WebApp itself (webapp-0.1.0.jar on clojars.org) and the webexample1. https://github.com/dbushenko/Clojure-WebApp https://github.com/dbushenko/webexample1 Next step now: the detailed guide of using Clojure-WebApp. -- You received this message becau

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Tarantoga
Yep, this is great! How about syntax highlighting? On Jul 18, 10:03 am, Arthur Edelstein wrote: > Hi Everyone, > > I want to let you know about clooj, a small, simple IDE for clojure > that I have been developing (in clojure). It's packaged as a single > jar file (including clojure 1.2), > here:

Re: Tutorial about web development with Clojure

2011-07-18 Thread Tarantoga
I have reorganised the code, made some refactoring and added new functionality. For now, it is not just a blog but a more general framework which you can reuse for your own webapps. It is here now: https://github.com/dbushenko/Clojure-WebApp . The enhancements: 1. Added validations for models. 2. A

Re: Ring+Swank

2011-07-12 Thread Tarantoga
Thanks, that really works! On Jul 12, 12:54 pm, Joost wrote: > On Jul 12, 7:27 am, Tarantoga wrote: > > > Hi all, > > I'd like to make a web-app to which I could connect using slime and > > make some changes there while the application is still running. How to &g

Ring+Swank

2011-07-11 Thread Tarantoga
Hi all, I'd like to make a web-app to which I could connect using slime and make some changes there while the application is still running. How to start Swank-server from the working Ring-application? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Tarantoga
You can copy your jars in the /lib directory and add the ":disable-implicit-clean true" option to your project.clj file. Leiningen will not delete your jars while building the project. On Jul 11, 6:23 pm, finbeu wrote: > Hello, > > I have some external jar libaries that I need to import in my clo

Re: Tutorial about web development with Clojure

2011-06-29 Thread Tarantoga
Dmitry Gutov has improved the tutorial. The code looks much better now! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient wi

Tutorial about web development with Clojure

2011-06-12 Thread Tarantoga
Hi all, I have implemented a small blog (posts, comments, authentication) with Clojure using the Rails-like style of development. It is located here: https://github.com/dbushenko/ClojureBlog. The blog uses the following principles: 1) MVC architecture; 2) RESTfull design; 3) Convention over config