Main sections, see the description for more detailed timestamps: 01:48 What is Deno? 04:40 Creating New Projects with Deno 20:06 Gradual Adoption of Deno 26:43 Converting A Project Fully to Deno 50:47 Deploying with Deno Deploy 54:38 Deno Room For Improvement 58:00 My Final Thoughts
Hi CJ, really love your deep dives. EXCELLENT stuff. Just the right level of detail for busy devs looking to get the quick summaries. Keep them coming!
0:42 Before Watch Thoughts: Very cool! I'm on a similar journey myself. I would like to build a web application with the Fresh framework, but I just don't have the patience to figure out Preact on top of learning the Deno specific stuff. Hope you chat about that. If not, video please!
Agree! Standards is the way... It's just that many JS Devs tends to "Break the Rules" and not follow the Standard... Most of this is the results of some files will break, or there will be some security exploits, security hacking, and so many other stuff... Which is a bad practice... Ryan Dahl made a state on some of the interviews, he says "Let us do something good and contribute good things to the community/ecosystem of JS"... JSR and Deno are pushing... And therefore "Get Use To It Kid!" otherwise you end up lawyers walking and knocking to your doorsteps! Deno pushes Security is Top Priority as well! Other than that, awesome video and nice suggestions! :)
You can add an fmt and lint block in your deno.json You can see a lint example here: docs.deno.com/runtime/fundamentals/configuration/#linting and all of the available rules here: lint.deno.land/ You can see the available format options here: docs.deno.com/runtime/fundamentals/configuration/#formatting
You forgot to mention the best thing about those standard libraries. Most of them are runtime agnostic. You can use those standard libraries in NodeJS. So cool :))))
yeh i have to say the push to some kind of standard libs is the way to go. Having so many node dependancies for enterprise is just such a worry, esp when old projects that are critical get taken over. Just how many ways do you want to do routing or formatting a date?
Anything in the Deno namespace like Deno.readTextFile or Deno.env will only work in Deno. There are lots of cross runtime libraries hosted on jsr though since jsr is all about publishing to ESM, and a lot of the @std/* libraries are not specific to Deno and will work in Bun / Node.
Deno made a full version announcement with all these fancy promises! It's deceptive and just plain NASTY! I can't fault them for doing great things for the community, however I see that a lot of people were mostly distracted with the fancy start of the version announcement video. I would prefer that you're transparent and open with your promises. This has broken my trust with all the developers at Deno and I don't think I'll be taking their word anytime in the future as truth. I wonder what they could have lost if they were plain truthful in their version announcement video 🤔... It would have been better if they were honest out right or they just waited until they could [WITHOUT FAIL] deliver on their promises.
@@RustIsWinning congratulations, you can count! 👏🥳.... Now go educate yourself. When you get an education, maybe you'll be capable of something more than counting and caps lock. Good luck 🤞
@@dera_ng Still did not take them? Go seek a doctor. Maybe they will tell ya the delusion of trying to make a statement without explanation of anything 🩺🏨
for local Libsql file stuff it's actually turso thinking you're in a browser env so it doesn't allow you to load from file: urls but you can just import from Libsql/client/node instead of just/client and it should work just fine
I am a bit sad that they made deno v2 unavailble for older versions of osx, which people with older computers can't update to, well ill just keep using node for the time being.
OSX version 12. Tried to install the Intel version via homebrew but there is an error stating I need version 14. There may be a work around but it's not necessary for me to use deno right now anyways. Likely will be getting a new computer within the next year.
@@syntaxfm You just cast the CSV values to the value you extract from a single entry. Is this OK for demonstration purposes? Maybe. Will a junior see it and think it is a valid approach? Sure
@@RustIsWinning choose whatever sanitization strategy you prefer (manual, using a library of the many available, etc) but use a input sanitization strategy. Too many bugs have been caused by this
Main sections, see the description for more detailed timestamps:
01:48 What is Deno?
04:40 Creating New Projects with Deno
20:06 Gradual Adoption of Deno
26:43 Converting A Project Fully to Deno
50:47 Deploying with Deno Deploy
54:38 Deno Room For Improvement
58:00 My Final Thoughts
These in-depth videos with CJ are such a great addition to the Syntax lineup. Please keep them coming!
Hi CJ, really love your deep dives. EXCELLENT stuff. Just the right level of detail for busy devs looking to get the quick summaries. Keep them coming!
The combo of deep insights with clear, compact explanations is perfect. You and Deno are absolute cool!)
I absolutely think that Deno is the future of Javascript. I have been using it for just over two years and use it as much as possible.
What a gem💎. Deno is great also. Gracias CJ 🙌.
On the permissions system, they do have shortcuts: -NE to allow network and env access. That doesn't answer your remark about partial permissions...
Thanks! I completely forgot about this while making the video.
A followup video on the comparison with Bun would be nice!
Great content! Love the learn by example model.
My final thoughts? CJ is the best.
great video. thanks CJ
Oh man, thanks as always great stuff!
0:42 Before Watch Thoughts: Very cool! I'm on a similar journey myself. I would like to build a web application with the Fresh framework, but I just don't have the patience to figure out Preact on top of learning the Deno specific stuff. Hope you chat about that. If not, video please!
Agree! Standards is the way... It's just that many JS Devs tends to "Break the Rules" and not follow the Standard... Most of this is the results of some files will break, or there will be some security exploits, security hacking, and so many other stuff... Which is a bad practice... Ryan Dahl made a state on some of the interviews, he says "Let us do something good and contribute good things to the community/ecosystem of JS"... JSR and Deno are pushing... And therefore "Get Use To It Kid!" otherwise you end up lawyers walking and knocking to your doorsteps! Deno pushes Security is Top Priority as well! Other than that, awesome video and nice suggestions! :)
Amazing 🔥🔥
How to configure the formatting of deno?
Like brackets start as new line,
No semicolon etc.?
Same for linting
You can add an fmt and lint block in your deno.json
You can see a lint example here: docs.deno.com/runtime/fundamentals/configuration/#linting and all of the available rules here: lint.deno.land/
You can see the available format options here: docs.deno.com/runtime/fundamentals/configuration/#formatting
You forgot to mention the best thing about those standard libraries. Most of them are runtime agnostic. You can use those standard libraries in NodeJS. So cool :))))
yeh i have to say the push to some kind of standard libs is the way to go. Having so many node dependancies for enterprise is just such a worry, esp when old projects that are critical get taken over. Just how many ways do you want to do routing or formatting a date?
Exactly! Enterprise is a huge use case and likely one of the ways Deno will get more adoption.
54:50 the permission model is going to be lit, no more paranoia
Does using any of the Deno.* libraries lock me into using deno? Or can I install them from bun or nodejs?
Anything in the Deno namespace like Deno.readTextFile or Deno.env will only work in Deno. There are lots of cross runtime libraries hosted on jsr though since jsr is all about publishing to ESM, and a lot of the @std/* libraries are not specific to Deno and will work in Bun / Node.
Where to import drizzle-eslint plugin, deno.json is not able to import
Hono Pino Deno 🎵
Dont need to watch, my company runs on deno deploy. Honestly surprised so many willingly suffer on node. No amount of “ecosystem” is worth that.
Deno made a full version announcement with all these fancy promises! It's deceptive and just plain NASTY!
I can't fault them for doing great things for the community, however I see that a lot of people were mostly distracted with the fancy start of the version announcement video.
I would prefer that you're transparent and open with your promises. This has broken my trust with all the developers at Deno and I don't think I'll be taking their word anytime in the future as truth.
I wonder what they could have lost if they were plain truthful in their version announcement video 🤔... It would have been better if they were honest out right or they just waited until they could [WITHOUT FAIL] deliver on their promises.
Very rare to read 4 paragraphs that absolutely state NOTHING 😂 Go take today's prescription LMAO
@@RustIsWinning congratulations, you can count! 👏🥳....
Now go educate yourself. When you get an education, maybe you'll be capable of something more than counting and caps lock.
Good luck 🤞
@@dera_ng Education HAHAHAHA. Says the guy with 0 explanation on what promises were broken. Meds. Take them already ya cr1ng self liking skid!
@@dera_ng Still did not take them? Go seek a doctor. Maybe they will tell ya the delusion of trying to make a statement without explanation of anything 🩺🏨
@@dera_ngI have a master degree in calling out nonsense. Buddy u need to learn how write proper explanations LOL
for local Libsql file stuff it's actually turso thinking you're in a browser env so it doesn't allow you to load from file: urls but you can just import from Libsql/client/node instead of just/client and it should work just fine
Also you should use Deno dot remove sync to delet the test db so you're not spinning up a new process for the delete op
Oh and you can use short permission flags so the tasks are easier to read like -R instead of --allow-read
@@TechBuddy_ Good tips! Thank you.
This is what I came looking for 💙
can we get the sample csv?
Sure! Here is the timeline.csv for this video: gist.github.com/w3cj/a2c5657fb6f5d6854d177152e9546c3e
show us the tutorial where you convert your nextjs boilerplate to deno and show us how you can deploy with docker
I am a bit sad that they made deno v2 unavailble for older versions of osx, which people with older computers can't update to, well ill just keep using node for the time being.
Do you get an error when installing? What version of osx are you running? Looks like they have both arm64 and x64 builds available.
OSX version 12. Tried to install the Intel version via homebrew but there is an error stating I need version 14. There may be a work around but it's not necessary for me to use deno right now anyways. Likely will be getting a new computer within the next year.
I can guess, a lot of npm packages will become obsolete if/when deno get massive adoption
messed up ecosystem javascript
Why messed up?
Showing standard bad practices as casting, uh, yeah, love that, make the rest of the devs worse.
What is a bad practice that was shown? How would you do it differently?
Yeah, please let us know.
@@syntaxfm You just cast the CSV values to the value you extract from a single entry. Is this OK for demonstration purposes? Maybe. Will a junior see it and think it is a valid approach? Sure
@@Danielo515My guy... u did not explain how else it should be done LOL 😂
@@RustIsWinning choose whatever sanitization strategy you prefer (manual, using a library of the many available, etc) but use a input sanitization strategy. Too many bugs have been caused by this