Giter Club home page Giter Club logo

blog4492's People

Contributors

kaushalwagle avatar

Watchers

James Cloos avatar  avatar

blog4492's Issues

Overall Comments

Kaushal,

So far this is looking good. I pulled the commit from 2/2/18 around 4:00 to look at. Looking at your code it seems like the contact form should function properly so that is good. I did leave some comments about convention in other issues as well. You have your blog controller created but it doesn't look like you were able to get the blog domain and saving the form implemented. Keep up the good work and let me know if you have any questions.
-Brandon

Setting values of your contact object

contact.name = request.firstName + request.lastName

Right here you are setting the values of your contact object. This could be done this way, however, if you remember to give your html element inputs the same name as your domain's properties, Grails will handle mapping those properties behind the scenes. For example if you give your domain a firstName and lastName property, and give your fields name="firstName" and another name="lastName", then submit your form you won't have to explicitly set contact.firstName = params.firstName. Let me know if that doesn't make sense.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.