D

Rất tiếc, mục này chỉ tồn tại ở English.

How to create a temporary file to store data

Your application has to write data out in a temporary file to reprocess them before rendering to users. The file will be created temporarily and swept our when the application…

Fastest way to get the first n elements of a List into an Array

def s = ‘Hello Groovy world!’ assert s.take(5) == ‘Hello’ assert s.drop(6) == ‘Groovy world!’ Python Let’s assume an arbitrary list/array: in_list = list(range(10)) // Python2: in_list = range(10) //…

(English) An annoyed error needed to be paid more attention when using RestBuilder grails plugin

Rất tiếc, mục này chỉ tồn tại ở English.

(English) How to test database connection without using Hibernate ORM in Grails

Rất tiếc, mục này chỉ tồn tại ở English.

Cách thức để truy cập dịch vụ web trong các ứng dụng với Grails

Tài liệu tham khảo https://guides.grails.org/grails-mock-http-server/guide/index.html

How to build and render data in JSON format with Grails

Nowadays, an awful lot of web based applications are using JSON as a principal data to load and render information rapidly. While some applications store data into persistence volume as…

How to consume web services in Grails

Frankly, implementing RESTful API endpoints/services is a vital part of any modern web-based applications these days because of inherent advantages of this technology. However, how do you consume RESTful services…

How to change default server port for Grails application

As a web developer, all of us are aware of the number 8080 as the holy port nobody can forget. In Grails based applications, there is no exception at all.…

Spring Autowired Annotation

Trong bài viết này, chúng tôi sẽ giới thiệu với các bạn một annotation khá thân thuộc với những ai đã quen lập trình với nền tảng Spring