News for hackers. Stuff that matters.
Re:First public release of Pushup: a new compiler for making... by andreygrehov on Wednesday January 04, 2023 @04:29PM (#34251993)
When it comes to traditional web frameworks, the most important part is handling regular HTML forms. Reason being, a form is the only native mechanism your customers have to use to interact with your service. Forms are important. Specifically, validation and error handling. I think Laravel does it really well. It's been a while, but Laravel has a wrapper around HTML forms. This wrapper does everything you need: server-side form validation, form generation, flexible error handling that takes care of client error messages, placeholders, input values, css classes for invalid states, you name it.

Does Pushup help engineers with HTML forms?

Re:First public release of Pushup: a new compiler for making... by miohtama on Wednesday January 04, 2023 @06:11PM (#34253337)
This plus CRUD pattern - after the submission you want to edit the data usually with a slightly different form.
Re:First public release of Pushup: a new compiler for making... by randomguy0 on Wednesday January 04, 2023 @07:44PM (#34254249)
Any more info on this form wrapper for Laravel?
Re:First public release of Pushup: a new compiler for making... by andreygrehov on Wednesday January 04, 2023 @08:30PM (#34254704)
This is how it used to be - https://laravel.com/docs/4.2/html

I haven't used Laravel for many years. I couldn't find the equivalent functionality in the latest version of the framework, which is 9.x, but pretty sure they should have something similar.

Re:First public release of Pushup: a new compiler for making... by AlbinoDrought on Wednesday January 04, 2023 @10:08PM (#34255381)
Here's the latest equivalent of those docs: https://laravel.com/docs/9.x/blade#forms
Re:First public release of Pushup: a new compiler for making... by chx on Wednesday January 04, 2023 @09:41PM (#34255213)
Regular HTML forms are hard. Source: I was the Drupal form API maintainer for a long time. Way too long.
Re:First public release of Pushup: a new compiler for making... by paulsmith on Wednesday January 04, 2023 @10:31PM (#34255556)
Not yet, but that is the intent. As a long-time Django user I have a high bar for the kind of forms support a framework should provide. One of my thoughts/beliefs is that, as a compiler with complete control over the page, there is a lot Pushup can do on both the markup generation side as well as checks and validations. eg., automatic CSRF token insertion, compiler "warnings" for accessibility, etc.