Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PETAL Stack #87

Open
7 tasks done
nelsonic opened this issue Jan 20, 2022 · 6 comments
Open
7 tasks done

PETAL Stack #87

nelsonic opened this issue Jan 20, 2022 · 6 comments
Assignees
Labels
discuss Share your constructive thoughts on how to make progress with this issue enhancement New feature or enhancement of existing functionality priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@nelsonic
Copy link
Member

nelsonic commented Jan 20, 2022

We've recently heard some buzz about the "PETAL" stack:
https://changelog.com/posts/petal-the-end-to-end-web-stack

Update: If you're new to this and want a fully functional example/tutorial App built with the PETAL stack,
see: https://github.com/dwyl/mvp

@nelsonic nelsonic added enhancement New feature or enhancement of existing functionality discuss Share your constructive thoughts on how to make progress with this issue technical A technical issue that requires understanding of the code, infrastructure or dependencies labels Jan 20, 2022
@nelsonic
Copy link
Member Author

nelsonic commented Jun 6, 2022

https://underjord.io/getting-started-with-petal.html

ElixirConf 2020 - Patrick Thompson - Liven up your LiveViews (even further) with AlpineJS: https://youtu.be/Dv64_tGJhHo
image

image

image

image

image
This JS embedded in the HTML attributes does't look particularly maintainable/debuggable to me ... 🤷‍♂️
But keeping an open mind. 💭

image
image
image

@nelsonic nelsonic mentioned this issue Jun 7, 2022
@nelsonic nelsonic added the priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished label Jun 10, 2022
@SimonLab
Copy link
Member

Video setup on youtube:
PETAL stack setup (Phoenix 1.6, Elixir, Tailwindcss, Alpinejs, LiveView)

@nelsonic
Copy link
Member Author

Chris & Co @superfly are using PETAL for the Fly.io dashboard: https://fly.io/dashboard/hits
fly-dashboard-PEATAL-stack-liveview-tailwind-alpine

Production/mission-critical use is the biggest endorsement for a technology/stack.

@nelsonic
Copy link
Member Author

I feel like my Tailwind knowledge has come a long way in the past week while suffering through building the MVP. I specifically didn't know much about positioning ... 🙄
but with @RobStallion's help feel a lot more confident with using flex and feel like the MVP will look "OK" now: dwyl/mvp#89 (comment) (keep scrolling ...)

@SimonLab how are you feeling about Alpine.js and Tailwind? 💭
I've assigned this Alpine.js side-quest/spike to you: dwyl/learn-alpine.js#3
LMK what you think. 👍

@nelsonic nelsonic unpinned this issue Aug 17, 2022
@nelsonic
Copy link
Member Author

Included in #80 🚀

@nelsonic nelsonic pinned this issue Sep 2, 2022
@nelsonic nelsonic mentioned this issue Sep 2, 2022
3 tasks
@nelsonic
Copy link
Member Author

@SimonLab recently added https://petal.build/components/ to the MVP 🚀
The PR was quite brief: https://github.com/dwyl/learn-tailwind/pull/21/files
It would be amaze to get a more detailed example showing component re-use ... 💭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Share your constructive thoughts on how to make progress with this issue enhancement New feature or enhancement of existing functionality priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
None yet
Development

No branches or pull requests

2 participants