blog.zmok.net
/bin/recykl » 2008
http://blog.zmok.net/articles/2008
Rails, Grails and Life. Laquo; Previous Entries. Web services in Grails. This article summarizes my experience with web services in Grails (and also Groovy). It will focus the on client side –. Consuming web services. If you are looking for server size – providing services, you can use plugins. Like Metro or XFire. Once you want to create a web service client in pure groovy, you do not have much options. I have found just two libraries: Groovy SOAP. PM org. apache. Path resource [. At java. security.
blog.zmok.net
/bin/recykl » Performance
http://blog.zmok.net/articles/category/performance
Rails, Grails and Life. Archive for the ‘Performance’ Category. Improve performance of MySQL driver for RoR. Last week I was working on the performance tuning of a rails application. I ran a profiler and found something very interesting. I found that there is a procedure that is called very often and takes a lot of time. The procedure was Mysql#get length:. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25. File src/rails-1.2.3/activerecord/lib/active record/vendor/mysql.rb. Now, hereR...
blog.zmok.net
/bin/recykl » Tutorial
http://blog.zmok.net/articles/category/tutorial
Rails, Grails and Life. Archive for the ‘Tutorial’ Category. Playing with Grails application configuration. This small tutorial will show how to create a configuration file and how to manage configuration of your Grails application. It will show how to. Configure Spring for different environments. Create a new environment. The configuration of Grails is stored in grails-app/conf directory. Parameters are stored in configuration files in “plain text way”. Or in “structured way”. Query = {. The first step ...
blog.zmok.net
/bin/recykl » Business
http://blog.zmok.net/articles/category/business
Rails, Grails and Life. Archive for the ‘Business’ Category. RoR in enterprise lessons learned. After a while my first enterprise prototype is finished and I have to summarize what was right and what was wrong during the period of prototyping. After some time, the flow of requirements was stronger and stronger. It was necessary to start requirements management yes, it is true. You cannot get rid of it. And what are my lessons learned? Scaffolding is for some time more than enough. It is not necessary to ...
blog.zmok.net
/bin/recykl » recykl.com
http://blog.zmok.net/articles/category/recykl-com
Rails, Grails and Life. Archive for the ‘recykl.com’ Category. Timestamp vs. Datetime. We encountered a strange behavior in our Rails application: created on. Timestamp was sometimes younger than updated at. For each item in our application, we had a created on. And an updated at. Field in the database. These were supposed to be updated by the Rails framework at item creation and item update times respectively. However, created on. Got to be updated more reliably, even for small flag changes. We tried.
blog.zmok.net
/bin/recykl » Blog Archive » Configuration and usage of Gldapo in a Grails project
http://blog.zmok.net/articles/2009/02/10/configuration-and-usage-of-gldapo-in-a-grails-project
Rails, Grails and Life. Laquo; Grails RichUI - Incorrect international characters of the month names. Playing with Grails application configuration. Configuration and usage of Gldapo in a Grails project. Configuration and usage of Gldapo in a Grails project. Is a groovy library for object oriented LDAP access. “The Gldapo is to LDAP what GORM is to SQL”. Gldapo is packaged in Grails LDAP plugin, its installation is easy. In the root of your Grails project run command:. Url = ldap:/ ldap.zmok.net. Usually...
blog.zmok.net
/bin/recykl » Fun
http://blog.zmok.net/articles/category/fun
Rails, Grails and Life. Archive for the ‘Fun’ Category. Anatomy of a successful project. Starting a new project is always an exciting time. People are discussing the “NEW BIG THING”, putting together their two cents to fully utilize the budget, dreaming…. Stakeholder says: “It has to rock! It must create us a competitive advantage! Project sponsor: “Sure, but it has to be cheap.”. Analyst shouts: “We should not underestimate the requirements! Company puts together a tender committee to select the airplane.
blog.zmok.net
/bin/recykl » Database
http://blog.zmok.net/articles/category/database
Rails, Grails and Life. Archive for the ‘Database’ Category. Monitoring number of SQL queries in MySQL. I have created a new application in Grails and surprisingly, in production environment it was slower than on my laptop. Production administrator found that my application generate too many SQL queries. The delay was caused by network latency. So, I had to find a way how to monitor number of SQL queries on MySQL server. For monitoring of the current session, there is a handy command:.
blog.zmok.net
/bin/recykl » How-to
http://blog.zmok.net/articles/category/how-to
Rails, Grails and Life. Archive for the ‘How-to’ Category. Laquo; Previous Entries. Playing with Grails application configuration. This small tutorial will show how to create a configuration file and how to manage configuration of your Grails application. It will show how to. Configure Spring for different environments. Create a new environment. The configuration of Grails is stored in grails-app/conf directory. Parameters are stored in configuration files in “plain text way”. Query = {. The first step i...
SOCIAL ENGAGEMENT