PrimeFaces
Vaadin
Our great sponsors
PrimeFaces | Vaadin | |
---|---|---|
16 | 41 | |
1,729 | 1,767 | |
1.3% | 0.2% | |
9.9 | 5.5 | |
5 days ago | about 2 months ago | |
Java | Java | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PrimeFaces
-
Shadcn: Beautifully designed components that you can copy-paste into your apps
> I use Quasar and Vue. This is my hammer for all nails, no matter the size of the nail.
Vue is great, especially with their Composition API (https://vuejs.org/guide/extras/composition-api-faq.html#why-...) and something like Pinia for state management, without the hassles of something like Redux: https://pinia.vuejs.org/
As for components, I really liked the idea behind PrimeVue/PrimeReact/PrimeNG/PrimeFaces (https://www.primefaces.org/) because I'm not aware of any other attempts of creating components that actually work similarly across different frameworks/libraries and it's really good because your skills carry over pretty well if you ever find yourself exploring a slightly different stack.
For what it's worth, the components also work decently (there's a whole list https://primevue.org/autocomplete/) and look okay (with various themes available, https://primevue.org/theming/), plus you can get examples (https://blocks.primevue.org/). Oh yeah, they also have their CSS utilities (a bit like Tailwind, https://primeflex.org/installation) and icons (https://primevue.org/icons).
I actually look forwards to the day where most of these concerns are less of an artisanal craft but rather a set of boring and well known things that just work well for quickly putting together a CRUD or whatever you need.
That said, I also explored VueRequest for handling network requests a bit more easily (https://www.attojs.org/guide/gettingStarted.html) and VueUse for stuff like LocalStorage (https://vueuse.org/guide/) and while it doesn't feel like I'm building a crappy alternative to Vuex and the complexity is reasonably manageable and the usability present, occasionally it all still feels a bit annoying to deal with - reactivity, ways to shuffle around data that I get from the back end, props, various bugs... so it's not all good, but still less complex than some of the things I've seen with React or Angular.
-
A design system for the federal government
> You're unlikely to build anything that's usable by everyone using React/Vue/Angular.
I wonder why so few actually try doing this. I mentioned this in another comment, but PrimeFaces is one of the few (only one?) sets of usable components, that have libraries available for Angular/React/Vue/Java (though using Java is a bit of a mess because of JSF, though some like it): https://www.primefaces.org/
It's immensely cool to be able to use similar components and such across different technologies, as opposed to wanting one of those component libraries and thus being pigeonholed into either using just React (or something else), or third party bindings of questionable quality.
It's probably never going to be truly 1:1, but getting close enough seems like a good thing to me, here's an example of a random component:
https://primereact.org/treetable/
https://primevue.org/treetable/
https://www.primefaces.org/showcase/ui/data/treetable/basic....
-
PrimeFaces v13.0.0 Released
Visit the changelog for the complete list of changes.
-
HTML with Superpowers: An Introduction to Web Components
> A UI library for React, Vue, Svelte, Solid, whatever... Imagine being able to have a component library that works with any of them (or none of them).
That seems to be a worthy goal, but I don't see that being usable in prod projects, at least not in the near future.
The closest I've seen is something like PrimeFaces, which has components for Angular, React and Vue, which is the majority of projects I've seen out there: https://www.primefaces.org (I've also used the Java JSF variety, it was... sometimes problematic)
If you need something that works the same (or as close as you can get) across multiple front end frameworks/libraries, while still having most of the components you could possibly want, I don't think there are many other options out there.
For example:
- Angular calendar: https://www.primefaces.org/primeng/calendar
- React calendar: https://www.primefaces.org/primereact/calendar/
- Vue calendar: https://www.primefaces.org/primevue/calendar
- ¿Qué tecnologías usarían para crear una web app de gestión?
-
is there any component packages like mudblazor but for javascript/react?
PrimeFaces for Java, Angular, React and Vue.
- Your cool open source libraries
Vaadin
- Ask HN: Why is web development such a daunting task?
-
A front-end programming language that don't need html/css, do you know one ?
But there are frameworks like GWT or Vaadin for Java, but none of them really took off afaik, I've never seen a job posting with either of these.
-
Always-Listening Voice Commands for Vaadin web applications
This small tutorial takes 15 minutes from the start to a working demo. We use Picovoice Porcupine Wake Word Engine to enable a Vaadin-based Java web application.
-
The Future (and the Past) of the Web Is Server Side Rendering
> Slightly off topic, but I found JSF the most productive out of any framework.
In my experience, it has been a horrible technology (even when combined with PrimeFaces) for complex functionality.
When you have a page that has a bunch of tabs, which have tables with custom action buttons, row editing, row expansion, as well as composite components, modal dialogs with other tables inside of those, various dropdowns or autocomplete components and so on, it will break in new ways all the time.
Sometimes the wrong row will be selected, even if you give every element a unique ID, sometimes updating a single table row after AJAX will be nigh impossible, other times the back end methods will be called with the wrong parameters, sometimes your composite components will act in weird ways (such as using the button to close a modal dialog doing nothing).
When used on something simple, it's an okay choice, but enterprise codebases that have been developed for years (not even a decade) across multiple versions will rot faster than just having a RESTful API and some separate SPA (that can be thrown out and rewritten altogether, if need be).
Another option in the space is Vaadin which feels okay, but has its own problems: https://vaadin.com/
Of course, my experiences are subjective and my own.
-
Happy path: Publishing a Web Component to Vaadin Add-on Directory
Did you find an excellent custom element that would make sense in your Vaadin Java web application? Maybe that is a web component that you previously published yourself in npmjs.com?
-
Are there any recommended libraries to make Spring Boot development even faster / easier?
What you maybe asking for is something like vaadin or jhipster which marries the front with the backend. (I don't like them tbh but it worth mentioning)
- LiveView in Clojure ?
-
free-for.dev
Vaadin — Build scalable UIs in Java or TypeScript, and use the integrated tooling, components and design system to iterate faster, design better and simplify the development process. Unlimited Projects with 5 years free maintenance.
-
Can I use Java to build a website?
You can use Java for Backend and Frontend. A relative new kid on the block for Frontend is Qute. The general keyword you are searching for is Java Templating Engine. Specific examples would be Thymeleaf or FreeMarker. There are some framework, which offer a lot more than templating like Vaadin or Wicket. Some are just specifications like Jakarta Faces with some of their implementations MyFaces or Mojarra.
-
Aire-UX Testing Framework Released to Maven Central!
This single-process, browserless testing framework allows you to inject live Vaadin or Sunshower.io widgets directly into your test-cases via CSS L4 selectors, navigate around your application to test workflows, and generally test UI interactions end-to-end quickly and safely. Comprehensive #springframework support is included via the Spring extension
What are some alternatives?
Apache Wicket - Apache Wicket - Component-based Java web framework
Spring Boot - Spring Boot
ZK - ZK is a highly productive Java framework for building amazing enterprise web and mobile applications
Spring - Spring Framework
jwt - Java Web Toolkit
Ratpack - Lean & powerful HTTP apps
Grails - The Grails Web Application Framework