I don't get it... a tutorial video would be nice 😉 #170
Replies: 5 comments 14 replies
-
Hey @andyjeffries thanks for posting this request. I really want to do this. |
Beta Was this translation helpful? Give feedback.
-
Heard you on Remote Ruby, if you want to arrange a call (you mentioned savvycal, but I couldn’t see it in the readme again yet) to walk me through the basics, I don’t mind then doing you a screencast and tutorial guide? if you want to do it yourself, that’s fine - but thought I’d offer some help if you can just get me started. |
Beta Was this translation helpful? Give feedback.
-
I love this so much! Very excited to have found this. I am also missing a "Getting Started" page - I don't need a video, but I could only found documentation on the templating syntax, and not about basic usage, like how to render the templates for example. I am sure I can find it in the code in a few minutes, but I figure a quick Getting Started page on the documentation site could be useful to many. |
Beta Was this translation helpful? Give feedback.
-
I've finally got Phlex somewhat up and running, but still feel that I'm missing some gotchas. Some examples and/or tutorials for the most basic use cases would add massive value to this very promising project in my opinion. Especially for people who don't want to change their whole application's view layer, but maybe just want to add a single phlex component that can be rendered from existing views or helpers. |
Beta Was this translation helpful? Give feedback.
-
Will do tomorrow when I’m back on my computer!
…On 10 Oct 2022 at 20:41 +0100, Johnny Nia ***@***.***>, wrote:
@andyjeffries Would it be possible to submit that as a PR? I'd be happy to follow the tutorial as a noob and provide feedback :)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I feel like I'm not sure if this is designed to replace your view layer entirely or to define helpers (components)? If the former, how do I get started? Create an
app/phlex/templates/
folder and put myindex.rb
file in there? What about layouts?I think I'd like the idea of this, views in pure ruby from both a speed and reuse point of view, but I just don't get how to get started.
I think the project could do with a "Blog application" in 5 minutes, like the old Rails site had, but using Phlex templates and components. Or even an example repo (I checked under https://github.com/joeldrapper) that implements a blog purely using Phlex best practices.
I'm sure others just get it, but as someone that's been a Rails developer for 15 years, it's not clicking for me...
Thanks for any answers.
Beta Was this translation helpful? Give feedback.
All reactions