Using HTMX with Frappe Framework

  Рет қаралды 2,688

Build With Hussain

Build With Hussain

Күн бұрын

Пікірлер: 32
@BuildWithHussain
@BuildWithHussain 8 ай бұрын
In order for HTMX requests to work without disabling CSRF check on our site (which I have on my local), we need to attach CSRF token to it. I have pushed a fix to the demo app, you can implement the same in your template/HTML file: github.com/BuildWithHussain/htmx_portal/commit/4a762ec41ece784b45ee2af93e270260c616d50d
@erpadminpspl7868
@erpadminpspl7868 8 ай бұрын
yes we want detailed HTMX in future
@MS-ht9su
@MS-ht9su 23 күн бұрын
Hi, very good content about HTMX in frappe. Please make more videos about using htmx with frappe. Much appreciated!
@AdamDawoodjee3
@AdamDawoodjee3 8 ай бұрын
I like this shorter, more direct video format. Was also admiring htmx a few months ago and feeling a little left behind but this is here now 🎉
@BuildWithHussain
@BuildWithHussain 8 ай бұрын
🙌
@OliverBlackstock
@OliverBlackstock 2 ай бұрын
Hussain, this is amazing content! Format was fantastic, but this is also the exact content I was looking for. I just sold my leadership to adopt ERPNext and for our custom stack, we are looking to adopt HTMX. I would very much love to see a more complete course on Frappe with HTMX. If I can show an impressive set of results, I've got our team lined up to all get certified and become a dedicated Frappe/ERPNext shop. Excellent work!
@BuildWithHussain
@BuildWithHussain Ай бұрын
Glad you found this useful! Happy to chat more on this on telegram if you like: @buildwithhussain
@omarm.k.shehada3959
@omarm.k.shehada3959 6 ай бұрын
Thank you for this great episode. Just one question, how can we set a filter field?
@aminudangaata
@aminudangaata 8 ай бұрын
Beginning to get a hang of importing assets. Frappe rocks!!
@pythondjango9406
@pythondjango9406 5 ай бұрын
i am currently trying to implement project using vue js in frappe ui, but now i have watched this video aswell, can you tell me which is better vue.js or htmx? also, i wanted to know that currently i do run yarn dev to run development server, but i have also used frappe drive, in that I dont have to run yarn dev(it directly runs on the main port) , so after development how can i configure in to work on main website?
@simonpeterwanyama1088
@simonpeterwanyama1088 8 ай бұрын
Thank you very much Hussain for this. 👏👏🕺🕺
@Danger-qi2my
@Danger-qi2my 7 ай бұрын
Thank Hussain this is great ! Do you know if there is a way to have hot reload with this workflow ?
@BuildWithHussain
@BuildWithHussain 7 ай бұрын
With the present setup, we can’t get hot reload working (Jinja rendering). Maybe separate tooling has to be built to get that working.. 😄
@akarapol99
@akarapol99 7 ай бұрын
is it possible to add the htmx script inside the normal doctype form
@BuildWithHussain
@BuildWithHussain 7 ай бұрын
It is, but I don’t know why that can be useful. Maybe you want to combine the Custom Page feature with HTMX, that might be more useful…
@akarapol99
@akarapol99 7 ай бұрын
@@BuildWithHussain I want to call the external system via api and get related data and display to the user while they create new doc in frappe
@galaxylab6282
@galaxylab6282 8 ай бұрын
this is more amazing for my workflow app please enhance it to add items and add users from the frontend with custom details and roles , Thanks for the video lot off concepts clearance but everyday is new day with new thing 😎😎😎😎😎😎
@mixchannel7460
@mixchannel7460 7 ай бұрын
what about rout and authentication ?
@BuildWithHussain
@BuildWithHussain 7 ай бұрын
You can apply auth at context + Jinja level.
@pheakdey2008
@pheakdey2008 8 ай бұрын
What if 1000+record, how can manage pagging
@BuildWithHussain
@BuildWithHussain 8 ай бұрын
Limit the records and paginate, you should be good. Check htmx examples page to get some more idea on this.
@AhmedAbdEl-Sattar
@AhmedAbdEl-Sattar 7 ай бұрын
Awesome
@kongorodickens9014
@kongorodickens9014 8 ай бұрын
I am getting the error below: { "errors": [ { "type": "CSRFTokenError", "message": "Invalid Request", "title": "Message", "indicator": "red" } ] }
@BuildWithHussain
@BuildWithHussain 8 ай бұрын
I will fix it in app, you can set ignore_csrf to 1 in your local.
@BuildWithHussain
@BuildWithHussain 8 ай бұрын
Check this: github.com/BuildWithHussain/htmx_portal/commit/4a762ec41ece784b45ee2af93e270260c616d50d
@kongorodickens9014
@kongorodickens9014 8 ай бұрын
Thank You.
@ksivasuriyaprakash9976
@ksivasuriyaprakash9976 8 ай бұрын
Wow! Interesting
@adnankhafabi4671
@adnankhafabi4671 8 ай бұрын
Sorry, what is your browser?
@BuildWithHussain
@BuildWithHussain 8 ай бұрын
Arc (arc.net)
@adnankhafabi4671
@adnankhafabi4671 8 ай бұрын
thank you@@BuildWithHussain
@adnankhafabi4671
@adnankhafabi4671 8 ай бұрын
bro, can you tell me why my frappe always must run bench clear-cache when i want to look the changed?@@BuildWithHussain
@chanukyamaruthisuravarapu2540
@chanukyamaruthisuravarapu2540 3 ай бұрын
@@adnankhafabi4671 just hard refresh since it wont make request again for all static files so if u clear cache it will make new request to fetch those files.
Add TailwindCSS powered Portal pages in your Frappe Apps!
19:18
Build With Hussain
Рет қаралды 2,3 М.
The Art of Pure CSS
10:59
Junferno
Рет қаралды 548 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 35 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 1,7 МЛН
React visually explained: 'use client'
15:57
Delba
Рет қаралды 53 М.
How to style HTMX apps with CSS
11:37
HAMY LABS
Рет қаралды 1,8 М.
Вот что умеет SSH!!! Более 9 фичей!!!
21:51
Realtime User
Рет қаралды 15 М.
What I Learned From Building a Framework
7:45
Awesome
Рет қаралды 22 М.
Is Tailwind CSS No Longer Needed? A Look Into UnoCSS!
12:21
Program With Erik
Рет қаралды 61 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 64 М.
Jeremy McPeak's Larabits - HTMX May Be All You Need
15:22
Laracasts
Рет қаралды 12 М.
Steve Harvey completely LOSES IT over Mac's answer!
4:56
Family Feud
Рет қаралды 8 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 35 МЛН