Which template engine i have to use? [closed] - spring

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
i am developing website spring mvc , hibernate with my SQL database. my colleagues suggested to me to use free marker or velocity template engine but i'm using jsp template engine .i'm totally confused. So, can anyone please tell me jsp is best or not and why i will go for jsp or?.

Each one of them have some advantages that you could use if you need them, as always with this kind of questions the answers depends on what you want to achieve and how a template engine could help you.
For example, if you want to use the generated HTML pages as working mockups (because you need to show them), I would go for Thymeleaf. This document shows the key differences between Thymeleaf and JSP.

Related

Where to put classes in a Laravel project [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I have a coded years ago a custom PHP class to create and manage HTML tables.
I'd like to add it in my new Laravel project.
Where do you think it would be the best to put those files ?
Best regards,
Nicolas
It's as you want. Laravel adopts the MVC architecture, if you see that your PHP class deals with databases put it Model folder (/App), if it's dealing with views, put it in views folder (/resources/views) and if it's a controller class you have to put it in controller (/App/Http/Controllers).
But the main thing you have to do is to read the Laravel documentation to understand really how it works. The link for the documentation is https://laravel.com/docs

Is it still relevant to use Repository Pattern in a laravel application?” [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I'm setting up a new laravel project, and want to reduce code in my controllers. Do I need to use repository pattern?”
Do I need to use repository pattern?
Trying to organise your code doesn't directly mean that you "have to" and "need to" use the repository pattern. You can safely use helper classes to extract some of the logic from the controllers. Moreover, Laravel structures its code quite well. You can help it by implementing gateways or using observers where possible. Using events is a possibility too. However, you should be aware of how these things work before implementing them since you might introduce errors with the testing later on.

Web framework for a Legacy application: Grails or Play or? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Presently I work on a legacy application which has a Flex UI and ORM hibernate, SQL Server database. This application is heavily dependent on xml and database. It does have serious performance issues while fetching the data and rendering it on flex UI.
Two frameworks topped the search are Grails and Play. There are plenty of discussions on their differences and which one is better. But I could not find any comparison in the recent times. Which one looks good in 2014?
Is there any other framework which can be considered? Like Spring MVC.
Note: This may not be a coding problem but I would really like to have opinion of people who code.

How to use Jqgrid [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
From what I understand I need to write some of the PHP files and more myself to make this grid work with a sever and database. Is this true? And if so do you have any advice on where to start with this?
Any advice would be greatly appreciated.
The Demo page is useful for getting started. It will show you how to put together basic grids, and there is PHP code there to show you how to retrieve data from a MySQL DB and return it to your grid. You can easily adapt this code to another DB (such as Postgres or SQL Server) as needed.
As you get going, the documentation page has a good set of API docs as a reference.

What is the difference between Zend & CodeIgniter [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I would like to know what is the different between CodeIgniter and Zend MVC Framework in regarding to coding style?
e.g. Retrieving/Inserting values in the database etc.
The concept are similar but the coding style is different:
Zend Framework uses both table gateway pattern and row gateway pattern but CodeIgniter only uses the later.
If you are asking about the conventions used in naming variables and methods then Zend is different from CodeIgniter. Therefore the coding style are not the same!
Hope it helps!

Resources