nottsjs / speakers

A repo for organising talk proposals and discussing talks with speakers
9 stars 0 forks source link

Server-Side Rendering of React & Redux on Java 8 Nashorn with Spring Boot #20

Closed ruth-connect closed 8 years ago

ruth-connect commented 8 years ago

How to use the Nashorn JS engine on Java 8 to perform server-side rendering of the initial state of a React and Redux application within Spring Boot. This talk will cover:

(1) The Nashorn JS engine - including the ability to execute JS code on the server-side from within a Java application - and even have the JS code call Java code.

(2) How to integrate the Nashorn JS engine within the view layer of a Spring web application.

(3) How to use Nashorn to render the initial state of a React and Redux application on the server - to improve both initial page load performance and search engine optimisation - and how this can be used in conjunction with a client-side React and Redux application running in the browser.

jonathanKingston commented 8 years ago

This looks really great! Especially with your live coding skills :)

ruth-connect commented 8 years ago

Cool, thank you, Jonathan :) It might well be that the talk is a team effort with myself and a work colleague (who is a React guru), assuming that he is happy to come up to Nottingham; the two of us are going to be doing this talk for the first time in Birmingham on Tuesday next week, at the West Midlands Java User Group, so we should be able to iron out any glitches then :)

ruth-connect commented 8 years ago

I'm also tempted to film our talk in Birmingham on Tuesday, if my colleague is happy with that, so you should be able to get a cheeky sneak preview if so too :)

iancrowther commented 8 years ago

@ruth-connect have proposed August for this talk

ruth-connect commented 8 years ago

Cool, thanks for that! Tuesday August 9th? I think that should be OK at the moment.

Codesleuth commented 8 years ago

Hi @ruth-connect, how are you set for next week? All on track? We have you proposed for an hour slot at the event - do you think you need any more (or less) time?

ruth-connect commented 8 years ago

Hi David

Looking good for next week, thank you :) I think it's likely to be around 30 minutes plus questions. Would it also be possible to go second please, just in case there's any problems on the roads from Birmingham?

Please could you let me know the address of the venue again too.

Thanks Ruth

On 1 August 2016 at 17:00, David Wood notifications@github.com wrote:

Hi @ruth-connect https://github.com/ruth-connect, how are you set for next week? All on track? We have you proposed for an hour slot at the event

  • do you think you need any more (or less) time?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nottsjs/speakers/issues/20#issuecomment-236624692, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnb-JPnLcEAJrB0eKOhtDhFmCob5TdVks5qbhgtgaJpZM4IZf1g .

Ruth Mills

LEAD DEVELOPER

[image: Connect]

ruth.mills@connect-group.com

Building 300, Trinity Park, Birmingham, B37 7ES 0121 796 6490 www.connect-group.com

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your computer. The views expressed in this e-mail do not necessarily represent those of Connect and the company accepts no responsibility for any actions taken as a result of this communication.

Codesleuth commented 8 years ago

No problem, 30 mins + Q&A should be fine! We can put you on second if that would help.

The venue is JH:

34a Stoney St, Nottingham, NG1 1NB

If you are driving, there is on-street parking outside the venue but it's rarely available. If you need me to gather some parking info just let me know and I'll go find out for you.

Cheers!

Codesleuth commented 8 years ago

@ruth-connect I'm so sorry, I pasted the wrong venue! I went to Tech Nottingham tonight at Antenna and had that in my mind earlier, but I've updated the reply with the correct venue: JH Offices on Stoney Street (NG1 1NB).

ruth-connect commented 8 years ago

Cool, I've been to the JH Offices before, so I know how to get to there :)

Speaking second would be great too, just to be on the safe side with the traffic!

Thanks Ruth

On 1 August 2016 at 21:24, David Wood notifications@github.com wrote:

@ruth-connect https://github.com/ruth-connect I'm so sorry, I pasted the wrong venue! I went to Tech Nottingham tonight at Antenna and had that in my mind earlier, but I've updated the reply with the correct venue: JH Offices on Stoney Street (NG1 1NB).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nottsjs/speakers/issues/20#issuecomment-236696522, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnb-I-4KN9NIXXWyQBeuJ78pbC9FFeBks5qblYXgaJpZM4IZf1g .

Ruth Mills

LEAD DEVELOPER

[image: Connect]

ruth.mills@connect-group.com

Building 300, Trinity Park, Birmingham, B37 7ES 0121 796 6490 www.connect-group.com

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your computer. The views expressed in this e-mail do not necessarily represent those of Connect and the company accepts no responsibility for any actions taken as a result of this communication.

Codesleuth commented 8 years ago

Hi @ruth-connect, we've published your talk details. How does it look to you? Any issues, please get in touch! https://nottsjs.org/

ruth-connect commented 8 years ago

Hi David

That's looking great, thank you :) Only a couple of changes really - please could you remove references to "Redux", as the talk is just covering React on Nashorn, not Redux as well.

Thanks Ruth

On 3 August 2016 at 19:09, David Wood notifications@github.com wrote:

Hi @ruth-connect https://github.com/ruth-connect, we've published your talk details. How does it look to you? Any issues, please get in touch! https://nottsjs.org/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nottsjs/speakers/issues/20#issuecomment-237317998, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnb-OUKj_RoJJPgnR0kLBgh8LRtfJneks5qcNlmgaJpZM4IZf1g .

Ruth Mills

LEAD DEVELOPER

[image: Connect]

ruth.mills@connect-group.com

Building 300, Trinity Park, Birmingham, B37 7ES 0121 796 6490 www.connect-group.com

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your computer. The views expressed in this e-mail do not necessarily represent those of Connect and the company accepts no responsibility for any actions taken as a result of this communication.

Codesleuth commented 8 years ago

Sure, I'll get that updated. Cheers!

ruth-connect commented 8 years ago

Hi David

Hope you are well :) Just to confirm that I'm on to speak second this evening, just in case there are any issues with the traffic on the way up from Birmingham. All is good to go with the talk :)

In case I'm stuck in traffic, and if the venue is locked, please could you let me know if there's a phone number I can text when I'm outside.

Thanks in advance :)

Kind regards Ruth

On 4 August 2016 at 08:04, David Wood notifications@github.com wrote:

Sure, I'll get that updated. Cheers!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nottsjs/speakers/issues/20#issuecomment-237470164, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnb-O_fBfQ2vLYJIOKAD6JxudnvlvMzks5qcY7wgaJpZM4IZf1g .

Ruth Mills

LEAD DEVELOPER

[image: Connect]

ruth.mills@connect-group.com

Building 300, Trinity Park, Birmingham, B37 7ES 0121 796 6490 www.connect-group.com

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your computer. The views expressed in this e-mail do not necessarily represent those of Connect and the company accepts no responsibility for any actions taken as a result of this communication.

jonathanKingston commented 8 years ago

@ruth-connect if you are late I will wait by the door, feel free to tweet our @nottsjs account as that will likely get all the organisers rather than just one of us :).

ruth-connect commented 8 years ago

Thanks Jonathan :)

Hoping I'm going to be able to leave work early tonight to get there in good time anyway... but one never knows with the dreaded M42 and whatnot!

Thanks Ruth

On 9 August 2016 at 10:46, Jonathan Kingston notifications@github.com wrote:

@ruth-connect https://github.com/ruth-connect if you are late I will wait by the door, feel free to tweet our @nottsjs https://github.com/nottsjs account as that will likely get all the organisers rather than just one of us :).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nottsjs/speakers/issues/20#issuecomment-238505578, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnb-MR0oLCMe8-oWnIIXu8b_GG9uSZqks5qeEyCgaJpZM4IZf1g .

Ruth Mills

LEAD DEVELOPER

[image: Connect]

ruth.mills@connect-group.com

Building 300, Trinity Park, Birmingham, B37 7ES 0121 796 6490 www.connect-group.com

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your computer. The views expressed in this e-mail do not necessarily represent those of Connect and the company accepts no responsibility for any actions taken as a result of this communication.