Giter Site home page Giter Site logo

dev24-2021-live-coding's Introduction

Live Coding Session from Liferay /dev/24 (2021)

During a live coding session for the /dev/24, I decided to use the almost 2h I had to create a WeTransfer-like application. The goal is to generate discussions around anything that can happen during this process, but also see how much we can rely on Liferay out-of-the-box features to create such an application.

video

Checkout the form structure to reproduce this on your local Liferay before playing with the customisation included in this workspace.

Our Files

Our Files is the name of our WeTransfer-like application. What we want to achieve:

  • Upload multiple files as guest
  • Share the files to multiple recipients
  • Verify the sender before sending an email notification
  • Let links expire after some time

Liferay Features

With that limited time, the less we code the better. So we're going to rely on some Liferay features to avoid reinventing the wheel and add some code to glue all of that together.

  • Liferay Forms for uploading files and send links
  • Workflows to validate emails and publish links
  • Display Page for downloading files

Form Structure

  • [ Upload Field, Required, Guests allowed]; Field Reference = fileToShare
  • [ Text Field, Required, Email Validation ]; Field Reference = emailTo
  • [ Text Field, Required, Email Validation ]; Field Reference = emailFrom
  • [ Text Field, Required ]; Field Reference = title
  • [ Text Field, Required, Multiple Lines ]; Field Reference = message

dev24-2021-live-coding's People

Contributors

lgdd avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.