<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by shohrab hossain on Medium]]></title>
        <description><![CDATA[Stories by shohrab hossain on Medium]]></description>
        <link>https://medium.com/@siam786?source=rss-8d9a060b4757------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*K2_ObaqFlqn4DbbepyZs6w.jpeg</url>
            <title>Stories by shohrab hossain on Medium</title>
            <link>https://medium.com/@siam786?source=rss-8d9a060b4757------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:11:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@siam786/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deno 2.0 — Is It Finally Ready for Production?]]></title>
            <link>https://medium.com/@siam786/deno-2-0-is-it-finally-ready-for-production-66203382daac?source=rss-8d9a060b4757------2</link>
            <guid isPermaLink="false">https://medium.com/p/66203382daac</guid>
            <dc:creator><![CDATA[shohrab hossain]]></dc:creator>
            <pubDate>Wed, 19 Aug 2026 02:06:04 GMT</pubDate>
            <atom:updated>2026-08-19T02:06:04.308Z</atom:updated>
            <content:encoded><![CDATA[<h3>I used it for a real project. Here’s what actually happened.</h3><p>Not a tutorial. Not a hype post. Just an honest breakdown from someone who shipped something with it.</p><p>I had a deadline, a competition, and a decision to make.</p><p>Use Node.js — the thing I know, the thing I’ve used for years, the thing that would’ve been the safe choice. Or use Deno 2.0 — the thing I’d been watching from a distance for months, curious but skeptical.</p><p>I chose Deno. And I built a real-time collaboration tool with it in 72 hours.</p><p>This article is not about whether Deno is technically impressive. It is. Everyone knows that. This is about whether it’s actually usable for production work in 2025 — the ecosystem, the tooling, the gotchas, and the honest question of whether you should risk it on a real project.</p><p>Spoiler: the answer is “it depends.” But I’ll give you enough detail to actually make that decision yourself.</p><p>What Actually Changed in Deno 2.0</p><p>Before I get into my experience, let me quickly cover what 2.0 actually brought — because if you dismissed Deno a year ago, things have changed enough that it deserves a second look.</p><p>The biggest deal: npm compatibility.</p><p>Deno 1.x had a complicated relationship with npm. You could use some packages, but it was awkward — import maps, compatibility flags, and a lot of “this works, except when it doesn’t.” With 2.0, Deno treats npm packages as first-class citizens. You can now do:</p><p>import express from “npm:express”;</p><p>And it just works. No node_modules folder, no package.json required unless you want one. Deno downloads, caches, and runs it.</p><p>Other things that landed in 2.0:</p><p>→ Node.js compatibility layer improved significantly — more built-in Node APIs now work without polyfills</p><p>→ deno.json became more powerful as a project config file (closer to package.json in flexibility)</p><p>→ Private npm registries now supported</p><p>→ Long-term support (LTS) versions — finally, stability for production teams</p><p>→ Workspaces support for monorepos</p><p>The LTS point matters more than people give it credit for. One of the biggest arguments against using Deno in production was “what if something breaks between versions?” Now you have an LTS track. That removes one legitimate excuse.</p><p>What didn’t change: the core philosophy. TypeScript first, secure by default, built-in tooling (formatter, linter, test runner, bundler). That’s still what Deno is.</p><p>See content credentials</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y2F0I2_jfvty6fS4" /></figure><p>My Actual Experience: 72 Hours with Deno 2.0</p><p>I built a real-time project and task collaboration tool for a developer competition. The stack I chose:</p><p>→ Deno 2.0 (runtime)</p><p>→ Hono (API framework — runs on Deno, Bun, Node, Cloudflare Workers)</p><p>→ Fresh (frontend framework — Deno-native, island architecture)</p><p>→ Prisma (ORM — yes, it works with Deno now)</p><p>→ WebSockets for real-time sync</p><p>→ Deno Deploy for hosting</p><p>Here’s what went well:</p><p>TypeScript with zero config is still the best thing about Deno. I opened my editor, created a file, and just started writing typed code. No tsconfig.json. No babel. No webpack. It felt clean in a way that’s hard to describe until you’ve spent years fighting Node.js tooling setup.</p><p>Hono was a great match. It’s fast, the API is clean, and the TypeScript types are excellent. Routing felt familiar if you know Express, but without the middleware soup that Express projects tend to become.</p><p>The permission system saved me once. I had a bug where I accidentally tried to read from a path I hadn’t explicitly allowed. Deno refused. It told me exactly what permission I needed. That’s not annoying — that’s the system working correctly.</p><p>Deno Deploy was impressively easy. deno deploy and the project was live. I didn’t think about servers, containers, or environment setup. For a competition project that needs to demo quickly, this matters.</p><p>Here’s what was frustrating:</p><p>Fresh has a learning curve. The island architecture — where only specific interactive components hydrate in the browser — is genuinely good for performance, but it breaks the mental model you have from React or Next.js. I spent the first 4–5 hours unlearning habits before I could move fast.</p><p>Prisma + Deno still has rough edges. It worked, but I hit a couple of compatibility issues that cost me an hour of debugging. The error messages weren’t great. I solved it, but on a client project with a tighter deadline, that kind of friction adds up.</p><p>The npm compatibility, while improved, still has gaps. Some packages work perfectly. Some work with warnings. A few just don’t work. You won’t know until you try — and that uncertainty is a real cost on a production project.</p><p>Deno 2.0 vs Node.js — An Honest Side-by-Side</p><p>I’m not going to tell you Deno is better than Node. I’m going to tell you where each one actually wins.</p><p>Where Deno wins:</p><p>TypeScript support — No contest. Deno runs TypeScript natively. In Node, you’re still fighting tsconfig, ts-node or tsx, and build step decisions. Every time.</p><p>Security model — Deno’s permission system is genuinely better for production. Explicit permissions for file access, network, environment variables. Node trusts everything by default, which is a security risk people pretend isn’t there.</p><p>Built-in tooling — Deno ships with a formatter (deno fmt), linter (deno lint), test runner (deno test), and bundler. In Node, you spend the first day of every project picking and configuring these tools. I’ve had arguments with teammates about Prettier vs ESLint configs. Deno just decides for you.</p><p>Standard library — Deno has a well-maintained standard library. Node’s is more powerful but also more inconsistent.</p><p>Where Node.js still wins:</p><p>Ecosystem depth — npm has over 2 million packages. Deno’s npm compatibility helps, but it’s not perfect. If your project depends on a complex native module or a package with many dependencies, there’s a real chance you’ll hit a wall.</p><p>Team familiarity — Every JavaScript developer knows Node. Almost none of them have shipped Deno in production. That’s a real hiring and onboarding consideration.</p><p>Production track record — Node has been running major production systems for 15+ years. Deno 2.0 is months old. Trust is earned over time.</p><p>Hosting options — Node runs everywhere. Deno runs well on Deno Deploy and a growing list of platforms, but you have fewer choices.</p><p>The honest verdict:</p><p>If you’re starting a new personal project or side project and you’re comfortable with some friction — use Deno. You’ll appreciate the TypeScript experience and the cleaner defaults.</p><p>If you’re at a company, building a product with a team, or working on something with tight deadlines and real consequences — use Node. Not because it’s better, but because it’s safer. Less unknown risk. More available help when things break.</p><p>See content credentials</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RM2_g-CADQNiq38q" /></figure><p>So, Is Deno 2.0 Actually Production Ready?</p><p>Yes. With conditions.</p><p>Here’s my framework for deciding:</p><p>Use Deno 2.0 in production if:</p><p>→ You’re a solo developer or small team that can own the stack decisions</p><p>→ Your project doesn’t depend on packages with complex native bindings</p><p>→ You’re deploying to Deno Deploy or a platform that supports it well</p><p>→ Performance and TypeScript DX are higher priorities than ecosystem breadth</p><p>→ You’re building something new, not migrating an existing Node codebase</p><p>Don’t use Deno 2.0 in production yet if:</p><p>→ Your team has zero Deno experience and a tight deadline</p><p>→ You rely on specific npm packages you haven’t tested on Deno</p><p>→ You need a wide range of hosting options</p><p>→ You’re building something where production stability issues would have serious consequences</p><p>→ Your clients or stakeholders expect a “proven” stack</p><p>The thing I keep coming back to:</p><p>Deno 2.0 feels like Node.js did around 2012–2013. Genuinely exciting. Clearly capable. A few rough edges. An ecosystem that’s growing fast but not quite there yet.</p><p>And we all know what happened to Node.</p><p>I’m not betting my production systems on Deno today. But I’m writing more Deno code. Because in 2–3 years, saying “I’ve been using Deno since 2.0” is going to mean something.</p><p>The developers who understand it now will have an advantage later. That’s always how it goes with new runtime environments.</p><p>Final Thought</p><p>I started this project a Node.js developer who was curious about Deno.</p><p>I finished it still a Node.js developer — but one who now has genuine respect for what the Deno team has built, and a clearer picture of where each runtime actually belongs.</p><p>Deno 2.0 is not here to kill Node.js. It’s here to offer a better default experience for developers who care about TypeScript, security, and less tooling overhead. For the right project, it already delivers on that.</p><p>The question was never “is Deno perfect?” Nothing is. The question was “is it ready enough?”</p><p>For the right use case: yes. It is.</p><p>Have you tried Deno 2.0 yet? If you have, I’d genuinely like to know what you hit. What worked, what didn’t, what surprised you.</p><p>If you haven’t — what’s stopping you? Drop it in the comments. Let’s talk about it.</p><p>See content credentials</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Rk93woJq1YReHcMi" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66203382daac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[how to use the flutter app with backend firebase authentication]]></title>
            <link>https://medium.com/@siam786/how-to-use-the-flutter-app-with-backend-firebase-authentication-f96bf1e74dc4?source=rss-8d9a060b4757------2</link>
            <guid isPermaLink="false">https://medium.com/p/f96bf1e74dc4</guid>
            <dc:creator><![CDATA[shohrab hossain]]></dc:creator>
            <pubDate>Thu, 22 Dec 2022 14:22:10 GMT</pubDate>
            <atom:updated>2022-12-24T02:34:20.220Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hi my name shohrab hossain , i am a software engineer development with flutter and web application and mobile app development.</h3><p>in this tutorial, I will show how to use the flutter app with backend firebase authentication.</p><p>To implement a login and logout feature in a Flutter app using Firebase UI, you can follow these steps:</p><ol><li>First, make sure that you have a Firebase project set up and the Firebase SDK configured in your Flutter app.</li><li>Install the firebase_auth and firebase_ui packages from pub.dev. These packages provide Flutter widgets and APIs for interacting with Firebase authentication services.</li><li>In your app, create a page or widget that displays a login button. When the user clicks the login button, you can use the FirebaseAuth.instance.signInWithPopup method to open a login flow using Firebase UI. This will allow the user to sign in using their preferred authentication provider, such as Google, Facebook, or email/password.</li></ol><p>`import ‘package:firebase_auth/firebase_auth.dart’;<br>import ‘package:firebase_ui/firebase_ui.dart’;</p><p>// …</p><p>void _login() async {<br>final authResult = await FirebaseAuth.instance.signInWithPopup(FirebaseUIAuthProvider.google());<br>// authResult contains the user’s FirebaseUser instance<br>// You can now use this user to perform actions like update the user’s profile, etc.<br>}<br>`</p><ol><li>To log out the user, you can use the FirebaseAuth.instance.signOut method.</li></ol><p>void _logout() async {<br>await FirebaseAuth.instance.signOut();<br>}</p><ol><li>To check if the user is currently logged in, you can use the FirebaseAuth.instance.currentUser property. This property returns a FirebaseUser instance if the user is logged in, or null if the user is not logged in.</li></ol><p>final user = FirebaseAuth.instance.currentUser;<br>if (user != null) {<br>// The user is logged in<br>} else {<br>// The user is not logged in<br>}</p><p>I hope this helps! Let me know if you have any questions.</p><p>Certainly! Here are a few additional things you may want to consider when implementing login and logout in your Flutter app using Firebase UI:</p><p>It’s a good idea to use a StreamBuilder widget to build your login UI, so that the UI updates automatically whenever the user’s login state changes. You can use the<br><strong>FirebaseAuth</strong>.<strong>instance.authStateChange</strong>s stream to get notified of changes to the user’s login state. Here’s an example of how you might do this:<br>StreamBuilder&lt;FirebaseUser&gt;(<br>stream: FirebaseAuth.instance.authStateChanges(),<br>builder: (context, snapshot) {<br>if (snapshot.hasData) {<br>// The user is logged in<br>final user = snapshot.data;<br>return Text(&#39;Hello, ${user.displayName}!&#39;);<br>} else {<br>// The user is not logged in<br>return FlatButton(<br>onPressed: _login,<br>child: Text(&#39;LOGIN&#39;),<br>);<br>}<br>},<br>)</p><p>You can customize the appearance and behavior of the Firebase UI login flow by passing options to the signInWithPopup method. For example, you can specify which authentication providers should be available to the user, or customize the text and colors of the UI. Here&#39;s an example of how you might do thi</p><p>void _login() async {<br>final options = FirebaseUIOptions(<br>googleOptions: GoogleAuthOptions(<br>clientId: &#39;YOUR_CLIENT_ID&#39;,<br>),<br>signInOptions: [<br>EmailAuthProvider.providerId,<br>PhoneAuthProvider.providerId,<br>],<br>tosUrl: &#39;https://example.com/tos&#39;,<br>privacyPolicyUrl: &#39;https://example.com/privacy&#39;,<br>);<br>final authResult = await FirebaseAuth.instance.signInWithPopup(FirebaseUIAuthProvider.google(), options: options);<br>}</p><p>After the user logs in, you should navigate to a different page in your app. You can use the Navigator widget to do this. For example:<br>void _login() async {<br>final authResult = await FirebaseAuth.instance.signInWithPopup(FirebaseUIAuthProvider.google());<br>Navigator.of(context).pushReplacementNamed(&#39;/home&#39;);<br>}</p><p>that’s it, I hope you can enjoy this tutorial, please like and share and also visit my service that you may be interested</p><p>fb: <a href="https://www.facebook.com/profile.php?id=100087131396516">https://www.facebook.com/profile.php?id=100087131396516</a><br>my website: <a href="https://devsiam.vercel.app/">https://devsiam.vercel.app/</a><br>my linkedin: <a href="https://www.linkedin.com/in/shohrab-hossain-14745133/">https://www.linkedin.com/in/shohrab-hossain-14745133/</a><br>my service: <a href="https://www.fiverr.com/thesiam786">https://www.fiverr.com/thesiam786</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f96bf1e74dc4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>