Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mvc-dev] Poll for new Jakarta MVC?

Hi Tobias,

Yes, I was thinking about something like the MvcContext , but maybe an extended version. The MvcContext only provides the baseURL and an url-builder for controllers, but not to the current request. Some of our ViewEngines (like freemarker) add the request to the binding as well, but as far as I know that’s not in the spec.

The main issue I was trying to raise was the handling of static assets (stylesheets, scripts, images, fonts): we don’t have anything in the spec about how to handle those. I usually just add a „static“ folder in src/main/webapp and add concatenate URLs to the base url, but I’m not sure if that’s portable to different containers.

Gregor

On 1 Feb 2021, at 15:49, Tobias Erdle wrote:

Hi again,


+ 1 for the Websocket support proposed by Gregor.

And also + 1 for the context, in which I have a short question: Don't we have this context already with the `jakarta.mvc.MvcContext` interface?


> "Would you like to see MVC to get part of the Jakarta EE platform". Does this make sense?
IMO this is a good question.


Also, I think it would be interesting to know on which platforms people run MVC applications (e.g. Glassfish / Wildfly / TomEE /...). This may be interesting for
Krazo and its JAX-RS implementation specific adapters.


Best regards,


Tobias


Tobias Erdle, tobias.erdle@xxxxxxxxx, https://www.innoq.com
innoQ Deutschland GmbH, Kreuzstr. 16, 80331 München, Germany
Mobile: +49 175 2663815

Von: mvc-dev <mvc-dev-bounces@xxxxxxxxxxx> im Auftrag von Gregor Tudan <gregor@xxxxxxxx>
Gesendet: Montag, 1. Februar 2021 11:19:45
An: mvc developer discussions
Betreff: Re: [mvc-dev] Poll for new Jakarta MVC?
 

Hi!

I’d like to propose adding some kind of standardised „context“-bean to the default binding that can be accessed in the template.
The bean could provide some commonly used information like the base-url, the current request URL, or the resource-path of the application.
This would help to include assets (like images, fonts, stylesheets…) in applications.

Another interesting topic would be integrating websocket support. Thanks to Hotwire server side rendering is starting to shift back into focus. Improving fast partial- and lazy-loading of HTML would be a nice feature.

Gregor

On 1 Feb 2021, at 10:51, Christian Kaltepoth wrote:

Hi all,

I also like the idea of creating such a poll. +1 for the two features mentioned by Tobias. We could also include one of the most important questions: "Would you like to see MVC to get part of the Jakarta EE platform". Does this make sense?

Christian

Am Sa., 30. Jan. 2021 um 11:31 Uhr schrieb Tobias Erdle <tobias.erdle@xxxxxxxxx>:

Hi Ivar,


I like the idea of a poll and the question for new features.


As possible features, I'd propose a standard filter interface for supporting other methods than GET and POST for forms [see https://github.com/eclipse-ee4j/mvc-api/issues/39]. We already have this implemented in Krazo and a lot of other MVC Frameworks support a similar mechanism.


Another idea I really like is an SPI for the view resolution. For this, we already have an issue in the Krazo issue tracker [https://github.com/eclipse-ee4j/krazo/issues/127].


Best regards,


Tobias


Tobias Erdle, tobias.erdle@xxxxxxxxx, https://www.innoq.com
innoQ Deutschland GmbH, Kreuzstr. 16, 80331 München, Germany
Mobile: +49 175 2663815

Von: mvc-dev-bounces@xxxxxxxxxxx <mvc-dev-bounces@xxxxxxxxxxx> im Auftrag von Ivar Grimstad <ivar.grimstad@xxxxxxxxxxxxxxxxxxxxxx>
Gesendet: Freitag, 29. Januar 2021 17:22:25
An: mvc developer discussions
Betreff: [mvc-dev] Poll for new Jakarta MVC?
 
Hi MVC Committers!

We have been offered to run a small poll for Jakarta MVC to gather input from the community. The poll will be featured and promoted through all possible Jakarta EE social channels.

What do we want to ask? A suggestion is to ask what features they would want to see in the next Jakarta MVC release. WDYT?

If we're good with asking that, then please help identify three of four features they can select from. It can be something we already have in the issue tracker, or something completely new...

Jakarta MVC Issue Tracker:

Krazo Issue Tracker:
https://github.com/eclipse-ee4j/krazo/issues

We can use this thread to come up with a list of alternatives, and then do a vote among them.

Ivar

--

Ivar Grimstad

Jakarta EE Developer Advocate | Eclipse Foundation

Eclipse Foundation - Community. Code. Collaboration. 

_______________________________________________
mvc-dev mailing list
mvc-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mvc-dev


--

_______________________________________________
mvc-dev mailing list
mvc-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mvc-dev

_______________________________________________
mvc-dev mailing list
mvc-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mvc-dev


Back to the top