purescript-webrow / webrow

Let's build a highly opinionated but fully-featured web framework in PureScript
BSD 3-Clause "New" or "Revised" License
23 stars 0 forks source link

Make registration module "plugable" #2

Closed paluh closed 4 years ago

paluh commented 4 years ago

I think that we should try to architect our "applets" in a way that we can reuse them easily between projects. What should be customizable:

  1. Let's consider "registration applet" example. We want to use it in audiocarrier but also in a prints shop and in a streaming stats backends. Following this requirement we want to be able to:
  1. The same probably goes for applets like "login applet" (with open id login through google / facebook, password reset etc.).

  2. Further down the road we can even think about cart, payment and order applets. We will see if these are feasible....

paluh commented 4 years ago

Some more loose thoughts:

type FormData = Array (Tuple String String)
paluh commented 4 years ago

I'm closing this as it is too general and some parts of it are already solved I think.