<?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 Ariful Islam on Medium]]></title>
        <description><![CDATA[Stories by Ariful Islam on Medium]]></description>
        <link>https://medium.com/@arif98741?source=rss-edee12b4fe5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EPAsID-qYhM5KqxXjwDpTw.png</url>
            <title>Stories by Ariful Islam on Medium</title>
            <link>https://medium.com/@arif98741?source=rss-edee12b4fe5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:32:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arif98741/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[Say Goodbye to 404s: Why Every Webmaster Needs a Professional Dead Link Checker]]></title>
            <link>https://arif98741.medium.com/say-goodbye-to-404s-why-every-webmaster-needs-a-professional-dead-link-checker-c9a8e0302a12?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9a8e0302a12</guid>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[python-crawler]]></category>
            <category><![CDATA[deadlines]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Sun, 11 Jan 2026 05:56:05 GMT</pubDate>
            <atom:updated>2026-01-11T05:56:05.270Z</atom:updated>
            <content:encoded><![CDATA[<p>In the digital era, your website is your storefront. Imagine a customer walking into a shop, clicking a product, and being met with a “Door Stuck” sign. That is exactly what a <strong>404 Not Found</strong> error feels like to your users.</p><p>Dead links aren’t just annoying; they are silent killers for your SEO rankings and user trust. Today, I’m introducing a professional, open-source <strong>Dead Link Checker</strong> designed to automate the tedious task of website health monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B59SeBe0ihCpnCL17b25tg.png" /></figure><p>— -</p><p><strong>1. Why Should You Care? (The Use Cases)</strong></p><p>Maintaining a website with dozens or hundreds of pages is a nightmare to do manually. Our Dead Link Checker is designed for:</p><p><strong>SEO Professionals &amp; Digital Marketers</strong>: Search engines like Google penalize websites with many broken links. Use this tool to ensure a crawlable, high-quality site structure.</p><p><strong>Web Developers &amp; QA Engineers</strong>: Before launching a new site or after a major migration, run a deep crawl to ensure every internal and external link is functioning perfectly.</p><p><strong>Content Managers</strong>: Over time, external sites you link to might go offline. This tool helps you audit your outbound links to maintain your site’s authority.</p><p><strong>Sitemap Validation</strong>: Instead of crawling the whole site, simply feed it your `sitemap.xml` to verify the health of your most important indexed pages.</p><p>— -</p><p><strong>2. How It Makes Your Work Easy</strong></p><p>This software isn’t just a simple script; it’s a productivity powerhouse built to save you hours of manual clicking.</p><p><strong>🚀 High-Speed Multi-threading</strong></p><p>Don’t wait all day. With adjustable <strong>**Concurrent Workers**</strong>, you can check hundreds of links in minutes. The tool handles the heavy lifting in the background while you focus on other tasks.</p><p><strong>📊 Professional Reporting</strong></p><p>Fixing links is easier when you have the data organized. The software automatically generates:</p><p><strong>PDF Reports</strong>: Perfect for sending to clients or management.</p><p><strong>Excel/CSV Exports</strong>: Ideal for developers to filter and batch-fix URLs.</p><p><strong>Text Logs</strong>: For quick technical reviews.</p><p><strong>🛡️Advanced Authentication Support</strong></p><p>Many “free” online checkers fail when they hit a login wall. This tool supports <strong>**Basic Auth**</strong> and <strong>**Raw Session Cookies**</strong>, allowing you to check private staged sites or dashboard areas that are hidden from the public.</p><p>— -</p><p><strong>3. Installation &amp; Getting Started</strong></p><p>We believe professional tools should be accessible. You can get up and running in three simple steps:</p><p><strong>For Users (Windows Installer)</strong></p><p>1. Download the latest `DeadLinkChecker_Setup_v2.0.4_x64.exe`. from <a href="https://github.com/arif98741/deadlink-checker-python/releases">https://github.com/arif98741/deadlink-checker-python/releases</a></p><p>2. Run the installer (it takes less than 10 seconds).</p><p>3. Launch the app from your Desktop or Start Menu.</p><p><strong>For Developers (From Source)</strong></p><p>If you prefer to run it using Python:</p><p>```bash</p><p>git clone <a href="https://github.com/arif98741/deadlink-checker-python.git">https://github.com/arif98741/deadlink-checker-python.git</a></p><p>cd deadlink-checker-python</p><p>pip install -r build_tools/requirements.txt</p><p>python src/deadlink_gui.py</p><p>```</p><p>— -</p><p><strong>4. Pro Features You’ll Love</strong></p><p><strong>Recursive Depth Control</strong>: Choose whether to check just the homepage (Depth 1) or follow every internal link through the entire site (Depth 2+).</p><p><strong>Exclusion Rules</strong>: Found some links you don’t want to check (like log-out links or specific social media tags)? Simply add them to the exclusion list.</p><p>*<strong>User-Agent Switching</strong>: Mimic a Googlebot or an iPhone user to see how your links behave across different devices and crawlers.</p><p>— -</p><p><strong>Conclusion</strong></p><p>A healthy website is the foundation of a successful online presence. Broken links are an inevitable part of the web’s “link rot,” but they don’t have to be a permanent part of <em>*your*</em> site.</p><p>Download the <strong>Dead Link Checker</strong> today and give your users the seamless experience they deserve.</p><p>— -</p><p><em>*Follow me for more updates on web productivity tools!*</em></p><p>#SEO #WebDevelopment #Python #MarketingTools #OpenSource</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9a8e0302a12" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevtoBox Tools Explained: A Powerful All-in-One Toolkit for Developers & SEO Professionals]]></title>
            <link>https://arif98741.medium.com/devtobox-tools-explained-a-powerful-all-in-one-toolkit-for-developers-seo-professionals-d5c6b1c251e0?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5c6b1c251e0</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[productivity-tools]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Fri, 02 Jan 2026 14:05:10 GMT</pubDate>
            <atom:updated>2026-01-02T14:05:10.230Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s fast-moving digital world, developers and SEO professionals constantly switch between tools just to complete basic tasks. This is where <a href="https://devtobox.com/"><strong>DevtoBox</strong> </a>stands out. DevtoBox is a modern, browser-based toolbox designed to simplify everyday technical workflows without downloads, sign-ups, or privacy concerns.</p><p>This article explores DevtoBox in detail — its purpose, core tool categories, key benefits, and why it’s becoming a favorite among developers and technical marketers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iNr4ZyKd8ETGFWMXp6gXuA.png" /></figure><h3>What Is DevtoBox?</h3><p>DevtoBox is a <strong>free online platform offering 30+ developer and SEO tools</strong>, all accessible directly from your browser. Unlike bulky software or subscription-based platforms, <a href="https://devtobox.com/">DevtoBox </a>focuses on <strong>speed, simplicity, and privacy</strong>.</p><p>Every tool runs client-side, meaning your data <strong>never leaves your device</strong>. This makes it especially useful when working with sensitive code snippets, configuration files, or SEO data.</p><h3>Who Is DevtoBox For?</h3><ul><li>Web developers</li><li>Software engineers</li><li>SEO specialists</li><li>QA testers</li><li>Technical marketers</li><li>Students learning development</li></ul><h3>1. Web &amp; SEO Tools</h3><p>These tools are especially valuable for SEO professionals and website owners.</p><h3>Key Features</h3><ul><li>Meta tag &amp; SEO helpers</li><li>Text analysis utilities</li><li>URL &amp; string manipulation tools</li><li>Page data helpers</li></ul><p><strong>Why it matters:</strong><br> Instead of jumping between multiple SEO websites, DevtoBox allows you to perform quick checks and transformations instantly.</p><h3>2. Data Conversion Tools</h3><p>Developers frequently need to convert data formats while debugging or integrating APIs.</p><h3>Supported Conversions</h3><ul><li>JSON ↔ XML</li><li>CSV ↔ JSON</li><li>Text ↔ structured formats</li></ul><p><strong>Benefits</strong></p><ul><li>No backend processing</li><li>Instant conversion</li><li>Clean, readable output</li></ul><p>This is ideal when validating API responses or preparing data for testing.</p><h3>3. Fake Data Generators</h3><p>Testing applications requires realistic data — but using real user data is risky.</p><h3>DevtoBox Fake Data Tools Generate</h3><ul><li>Names</li><li>Emails</li><li>Phone numbers</li><li>Addresses</li><li>Random strings &amp; IDs</li></ul><p><strong>Use Cases</strong></p><ul><li>Frontend UI testing</li><li>Database seeding</li><li>Demo environments</li></ul><p>Everything is generated locally, making it safe and fast.</p><h3>4. Code Formatters &amp; Utilities</h3><p>Messy code slows development and increases bugs. DevtoBox includes formatters to clean and standardize code instantly.</p><h3>Supported Formatting</h3><ul><li>JSON formatting</li><li>Code cleanup</li><li>Minification &amp; beautification</li></ul><p>This helps developers maintain readability and follow best practices without installing IDE plugins.</p><h3>5. Cloudflare Error Page Generators</h3><p>One of DevtoBox’s standout features is its <strong>Cloudflare error page tools</strong>.</p><h3>What You Can Do</h3><ul><li>Generate custom Cloudflare error pages</li><li>Modify layout and messaging</li><li>Use ready-made templates</li></ul><p>This is extremely useful for DevOps engineers and site owners who want professional error handling without complex setup.</p><h3>Why Developers Prefer DevtoBox</h3><ul><li><strong>No Installation Required</strong><br> All tools work directly in the browser, eliminating the need for downloads, extensions, or software setup.</li><li><strong>Client-Side Processing for Maximum Privacy</strong><br> Data never leaves the user’s device, making it safe to work with sensitive code, configurations, and SEO data.</li><li><strong>Completely Free to Use</strong><br> Developers can access all tools without subscriptions, paywalls, or hidden limitations.</li><li><strong>Fast and Lightweight Performance</strong><br> Tools load instantly and deliver results in real time, helping developers stay productive without delays.</li><li><strong>Clean and Intuitive Interface</strong><br> The simple UI reduces learning time and allows developers to focus on tasks instead of navigation.</li><li><strong>All-in-One Developer Toolbox</strong><br> From data converters and code formatters to SEO tools and fake data generators, everything is available in one place.</li><li><strong>Ideal for Daily Development Tasks</strong><br> Perfect for debugging, testing, formatting, data conversion, and quick checks during development.</li><li><strong>Beginner-Friendly yet Powerful</strong><br> Easy enough for beginners while still useful for experienced developers and technical professionals.</li><li><strong>No Account or Tracking Hassles</strong><br> No sign-ups, no logins, and minimal tracking — just open the tool and get work done.</li></ul><p>DevtoBox focuses on <strong>doing small things extremely well</strong>, which is exactly what developers need in daily workflows.</p><h3>Frequently Asked Questions (FAQs)</h3><h3>1. Is DevtoBox completely free to use?</h3><p>Yes, all tools on DevtoBox are free and require no registration.</p><h3>2. Does DevtoBox store my data?</h3><p>No. All tools run in your browser, and data is not sent to any server.</p><h3>3. Can beginners use DevtoBox tools?</h3><p>Absolutely. The interface is beginner-friendly and requires no advanced knowledge.</p><h3>4. Are DevtoBox tools suitable for SEO professionals?</h3><p>Yes. Many tools are designed specifically for SEO analysis and content optimization tasks.</p><h3>5. Do I need to install any software?</h3><p>No installation is required. Everything works online.</p><h3>6. Is DevtoBox safe for sensitive code or data?</h3><p>Yes, because processing happens locally in your browser.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5c6b1c251e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Uploading and Resizing Images in Laravel 11 with Intervention Image: A Step-by-Step Example]]></title>
            <link>https://arif98741.medium.com/uploading-and-resizing-images-in-laravel-11-with-intervention-image-a-step-by-step-example-c1591d1bc372?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1591d1bc372</guid>
            <category><![CDATA[laravel-intervention]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[laravel-image-resize]]></category>
            <category><![CDATA[laravel-image-upload]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Tue, 25 Feb 2025 05:48:38 GMT</pubDate>
            <atom:updated>2025-02-25T05:48:38.611Z</atom:updated>
            <content:encoded><![CDATA[<p>When building web applications, handling image uploads efficiently is a common requirement. Laravel 11, combined with the powerful Intervention Image package, makes it easy to upload and resize images seamlessly. In this tutorial, we’ll walk through a practical example of setting up image uploads with resizing functionality in Laravel 11.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*L9pb6P4z51KwuciWH7tW7g.png" /></figure><h4>Prerequisites</h4><p>Before diving in, ensure you have the following ready:</p><ul><li>A working Laravel 11 installation.</li><li>Composer installed on your system.</li><li>Basic knowledge of Laravel fundamentals like routes, controllers, and views.</li></ul><h4>Step 1: Install Laravel 11</h4><p>If you haven’t set up a Laravel 11 project yet, let’s start there. Open your terminal and run:</p><pre>composer create-project laravel/laravel image-upload-example<br>cd image-upload-example</pre><p>This creates a fresh Laravel project named image-upload-example.</p><h4>Step 2: Install Intervention Image</h4><p>Next, we need the Intervention Image package to handle image processing. Install it via Composer:</p><pre>composer require intervention/image</pre><p>After installation, Laravel’s autoloader will pick it up automatically — no manual configuration required!</p><pre>php artisan make:controller ImageUploadController</pre><p>Open the newly created file at app/Http/Controllers/ImageUploadController.php and add the following code:</p><pre>&lt;?php<br><br>namespace App\Http\Controllers;<br><br>use Illuminate\Http\Request;<br>use Intervention\Image\Facades\Image;<br><br>class ImageUploadController extends Controller<br>{<br>    public function showUploadForm()<br>    {<br>        return view(&#39;upload&#39;);<br>    }<br><br>    public function uploadImage(Request $request)<br>    {<br>        $request-&gt;validate([<br>            &#39;image&#39; =&gt; &#39;required|image|mimes:jpg,jpeg,png|max:2048&#39;,<br>        ]);<br><br>        if ($request-&gt;hasFile(&#39;image&#39;)) {<br>            $image = $request-&gt;file(&#39;image&#39;);<br>            $fileName = time() . &#39;.&#39; . $image-&gt;getClientOriginalExtension();<br><br>            // Resize the image to 300x300 pixels<br>            $resizedImage = Image::make($image)-&gt;resize(300, 300, function ($constraint) {<br>                $constraint-&gt;aspectRatio();<br>            });<br><br>            // Save the resized image to the public/uploads directory<br>            $resizedImage-&gt;save(public_path(&#39;uploads/&#39; . $fileName));<br><br>            return back()-&gt;with(&#39;success&#39;, &#39;Image uploaded and resized successfully!&#39;)<br>                        -&gt;with(&#39;image&#39;, &#39;uploads/&#39; . $fileName);<br>        }<br><br>        return back()-&gt;with(&#39;error&#39;, &#39;Please upload an image.&#39;);<br>    }<br>}</pre><p>You can read full blog at</p><p><a href="https://www.programmingmindset.com/post/laravel-11-intervention-image-upload-with-resize-example">programmingmindset.com</a></p><p><a href="https://www.programmingmindset.com/post/laravel-11-intervention-image-upload">https://www.programmingmindset.com/post/laravel-11-intervention-image-upload</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1591d1bc372" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Laravel Developers Should Follow 10 Blog Websites]]></title>
            <link>https://arif98741.medium.com/laravel-developers-should-follow-10-blog-websites-dbae31de7a5c?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbae31de7a5c</guid>
            <category><![CDATA[laracasts]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[proggraming]]></category>
            <category><![CDATA[laravel-framework]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Mon, 10 Feb 2025 11:17:01 GMT</pubDate>
            <atom:updated>2025-02-10T11:17:01.787Z</atom:updated>
            <content:encoded><![CDATA[<p>When you’re starting with the Laravel framework, it’s essential to follow some well-known blogs to help guide your learning journey. These blogs are regularly updated with content that covers both beginner and advanced topics, making your learning experience much smoother. Here are some popular websites that frequently publish useful content on Laravel:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*_hMI1hKdVfdDAd5dmzxgRg.png" /></figure><ol><li><strong>Laravel News</strong> — <a href="https://laravel-news.com/">https://laravel-news.com</a><br>This is the ultimate resource for all things Laravel. It offers news, tutorials, and podcasts related to the framework.</li><li><strong>TutsPlus (Laravel Tutorials)</strong> — <a href="https://code.tutsplus.com/categories/laravel">https://code.tutsplus.com/categories/laravel</a><br>TutsPlus offers a range of articles, tips, and guides not only for Laravel but also for other programming topics. <em>Programmingmindset.com</em> also shares in-depth content on JavaScript, Git, Cloud technologies, and Python.</li><li><strong>Programming Mindset</strong> — <a href="https://programmingmindset.com/">https://programmingmindset.com</a><br>A fantastic place for comprehensive tutorials, catering to beginners as well as advanced developers. They cover a wide range of topics beyond Laravel.</li><li><strong>Laravel Daily</strong> — <a href="https://laraveldaily.com/">https://laraveldaily.com</a><br>This site provides tutorials, tips, and tricks specifically aimed at Laravel developers. While they do have paid content, they offer a wealth of free resources.</li><li><strong>Dev.to (Laravel Tag)</strong> — <a href="https://dev.to/t/laravel">https://dev.to/t/laravel</a><br>Dev.to is a community-driven platform where developers share articles, tutorials, and discussions. You can find a variety of Laravel-related posts here.</li><li><strong>PHP Laravel</strong> — <a href="https://www.phplaravel.net/">https://www.phplaravel.net</a><br>This site provides a mix of tutorials, tips, and general Laravel-related content. It’s a great resource for staying up-to-date and learning new skills.</li><li><strong>Scotch.io (Laravel Tutorials)</strong> — <a href="https://scotch.io/tag/laravel">https://scotch.io/tag/laravel</a><br>Known for its well-organized tutorials, Scotch.io offers a variety of articles that focus on Laravel and web development.</li><li><strong>Laracasts</strong> — <a href="https://laracasts.com/">https://laracasts.com</a><br>Laracasts is primarily a paid platform, famous for its high-quality video tutorials. However, many free lessons are available, making it accessible for all developers.</li><li><strong>Freelancing Tips</strong> — <a href="https://freelancingtips.com/laravel">https://freelancingtips.com/laravel</a><br>If you’re interested in freelancing, this site provides valuable Laravel tutorials and advice on using the framework in real-world freelance projects.</li><li><strong>The Laravel Podcast</strong> — <a href="https://www.laravelpodcast.com/">https://www.laravelpodcast.com</a><br>Although it’s not a blog, this podcast is a must-listen for anyone interested in the Laravel ecosystem. It features interviews with industry experts and developers.</li></ol><p>By following these sites, you’ll stay informed and gain new insights to enhance your Laravel development skills.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbae31de7a5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Show Express All Defined Routes in Nodejs Terminal]]></title>
            <link>https://arif98741.medium.com/show-express-all-defined-routes-in-nodejs-terminal-b3b3d7213ed4?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3b3d7213ed4</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[route]]></category>
            <category><![CDATA[express]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Thu, 23 Jan 2025 10:44:39 GMT</pubDate>
            <atom:updated>2025-01-23T11:02:25.196Z</atom:updated>
            <content:encoded><![CDATA[<p>While development in Nodejs it needs to know all defined routes from terminal. That’s why I have made a simple code snippet that will help to see routes as tabular format from terminal. If you are familiar to laravel, then it will give you extra pleasure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*TNBZkjU6uGnNXv4mOcyvYQ.png" /></figure><p>Install <em>express-list-endpoints</em> package</p><pre>npm i express-list-endpoints --save-dev</pre><p>Define logRoutes() function inside <em>appHelper/logRoutes.js</em></p><pre>import listEndpoints from &#39;express-list-endpoints&#39;;<br><br>const logRoutes = (app) =&gt; {<br>    const routes = listEndpoints(app).map(endpoint =&gt; {<br>        const methods = Array.isArray(endpoint.methods)<br>            ? endpoint.methods.join(&#39;, &#39;).toUpperCase()<br>            : Object.keys(endpoint.methods || {}).join(&#39;, &#39;).toUpperCase();<br>        return {<br>            Method: methods || &#39;UNKNOWN&#39;, // Handle cases where methods may not exist<br>            Path: endpoint.path<br>        };<br>    });<br><br>    // Display routes in tabular format<br>    console.table(routes);<br>};<br><br>export default logRoutes;</pre><p>Call <em>logRoutes()</em> from app.js</p><pre>import express from &quot;express&quot;;<br>import { config } from &quot;dotenv&quot;<br>import cors from &quot;cors&quot;;<br>import cookieParser from &quot;cookie-parser&quot;;<br>import fileUpload from &quot;express-fileupload&quot;;<br>import { dbConnection } from &quot;./database/dbConnection.js&quot;;<br>import messageRouter from &quot;./router/messageRouter.js&quot;;<br>import userRouter from &quot;./router/userRouter.js&quot;;<br>import { errorMiddleware } from &quot;./middlewares/errorMiddleware.js&quot;;<br>import logRoutes from &quot;./appHelper/logRoutes.js&quot;;<br><br><br>const app = express();<br><br>config({ path: &quot;./config/config.env&quot; });<br><br>app.use(<br>    cors({<br>        origin: [process.env.FRONTEND_URL, process.env.DASHBOARD_URL],<br>        methods: [&quot;GET&quot;, &quot;POST&quot;, &quot;PUT&quot;, &quot;DELETE&quot;],<br>        credentials: true<br>    })<br>);<br><br>app.use(cookieParser());<br>app.use(express.json());<br>app.use(express.urlencoded({ extended: true }));<br>app.use(fileUpload({<br>    useTempFiles: true,<br>    tempFileDir: &quot;/tmp/&quot;<br>}));<br><br><br>app.use(&quot;/api/v1/message&quot;, messageRouter);<br>app.use(&quot;/api/v1/user&quot;, userRouter);<br><br>dbConnection();<br>logRoutes(app); //show routes as table in console<br><br>app.use(errorMiddleware);<br><br>export default app</pre><p>Start node server and it will show all defined routes same as below in terminal</p><pre>+---------+--------+-----------------------------------+<br>| (index) | Method |               Path               |<br>+---------+--------+-----------------------------------+<br>|    0    | POST   | /api/v1/message/send             |<br>|    1    | POST   | /api/v1/user/patient/register    |<br>|    2    | GET    | /api/v1/user/patient/find        |<br>|    3    | GET    | /api/v1/user/patient/all/:page   |<br>+---------+--------+-----------------------------------+</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3b3d7213ed4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Open Source Contribution is Important?]]></title>
            <link>https://arif98741.medium.com/why-open-source-contribution-is-important-47959aad18df?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/47959aad18df</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source-contribution]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Thu, 07 Nov 2024 20:31:27 GMT</pubDate>
            <atom:updated>2024-11-08T06:05:47.639Z</atom:updated>
            <content:encoded><![CDATA[<p>Many newcomers to the programming sector initially focus on money or income. However, the focus should be on skill development and networking. Now, let’s get to the main point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*ITb_8XFKTYJ66YBGw4SJtw.png" /></figure><p>Many of us in the IT sector are familiar with the term “open source.” This term is very important in our software industry. Because of open source, millions of developers worldwide use software, code, libraries, and plugins without any charges. You might know that the popular Linux system comes from the concept of open source.</p><p>So, how can you contribute to open source? Suppose you are working on a feature or creating a library. If you somehow make your code or a specific part of it publicly available, other developers or companies facing the same problem will use your code and appreciate your contribution. Alternatively, you could write a blog on <strong>Medium </strong>or <strong>Dev.to</strong></p><p>Although the commercial benefits of open source are not immediately visible, you will gradually notice them. For example, if you put a library, code snippet, plugin, or demo project on GitHub, other developers searching for related code will find yours. They will explore your profile, increasing your visibility and networking opportunities. Another special benefit is that you won’t need to prove your skills to them; your code will be enough to showcase your abilities. Someone might hire you for their work, or you might get a job offer from a company due to your impressive contribution profile.</p><p>Nowadays, many developers comment “I am interested” to get work. Doing this will almost zero out your chances of getting clients. Instead, if you provide some guidelines to their problem in the comment box, you will see that client reaching out to your inbox later. This is real client hunting.</p><p>Don’t expect immediate benefits from open source work. But you will definitely get benefits, if not today, then 2 or 5 years later. So, if you have some free time, contribute to the open source world. It will not diminish your value; rather, it will increase it.</p><p>And yes, I have received many clients from Facebook. So, don’t just use Facebook as a social media platform; use it as a client-hunting platform.</p><p>Learn more articles from <a href="http://programmingmindset.com/">programmingmindset.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47959aad18df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Make Shortcode in Laravel Inspired from Wordpress]]></title>
            <link>https://arif98741.medium.com/lets-make-shortcode-same-as-wordpress-e9c4880d3f71?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9c4880d3f71</guid>
            <category><![CDATA[shortcodes-wordpress]]></category>
            <category><![CDATA[laravel-wordpress]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[shortcode]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Wed, 23 Oct 2024 16:25:04 GMT</pubDate>
            <atom:updated>2024-11-05T06:10:09.069Z</atom:updated>
            <content:encoded><![CDATA[<p>Shortcodes are a powerful feature in content management systems that allow users to insert dynamic content into their pages and posts effortlessly. They are widely used in WordPress, but their usefulness isn’t limited to just one platform. In this blog, I’ll walk you through creating a shortcode feature in Laravel, leveraging the power and flexibility of this robust PHP framework.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7pX9boMPKSlUl2AKnuIeCQ.png" /><figcaption>Shortcode thumbnail</figcaption></figure><h3>What Are Shortcodes?</h3><p>Shortcodes are small snippets of code enclosed in square brackets that get replaced with more complex content when the page is rendered. For example, a shortcode like [gallery] might be replaced with a photo gallery when the page is displayed to the user.</p><h3>Why Use Shortcodes in Laravel?</h3><p>Implementing shortcodes in Laravel allows for:</p><ul><li>Reusable content components</li><li>Cleaner and more readable code</li><li>Simplified content management for non-technical users</li></ul><p>We will make shortcode for making profile card. You can make according to your need</p><h3>Step 1: Lets create a class ShortcodeService</h3><pre>&lt;?php<br><br>namespace App\Service;<br><br>class ShortcodeService<br>{<br>    private array $shortcodes = [];<br><br>    public function register(string $name, $callback)<br>    {<br>        $this-&gt;shortcodes[$name] = $callback;<br>    }<br><br>    public function render($content)<br>    {<br>        return preg_replace_callback(&#39;/\[(\w+)([^\]]*)\]/&#39;, function ($matches) {<br>            $name = $matches[1];<br>            $params = $this-&gt;parseParams($matches[2]);<br><br>            return isset($this-&gt;shortcodes[$name]) ? call_user_func($this-&gt;shortcodes[$name], $params) : $matches[0];<br>        }, $content);<br>    }<br><br>    protected function parseParams($string)<br>    {<br>        $params = [];<br>        preg_match_all(&#39;/(\w+)=&quot;([^&quot;]+)&quot;/&#39;, $string, $matches, PREG_SET_ORDER);<br>        foreach ($matches as $match) {<br>            $params[$match[1]] = $match[2];<br>        }<br>        return $params;<br>    }<br>}</pre><h3>Step 2: Modify AppServiceProvider</h3><pre>&lt;?php<br><br>namespace App\Providers;<br><br>use App\AppSetting;<br>use App\Service\ShortcodeService;<br>use Illuminate\Pagination\Paginator;<br>use Illuminate\Support\Facades\Schema;<br>use Illuminate\Support\ServiceProvider;<br><br>class AppServiceProvider extends ServiceProvider<br>{<br>    protected $shortCodeService;<br><br>    /**<br>     * Register any application services.<br>     *<br>     * @return void<br>     */<br>    public function register()<br>    {<br>        $this-&gt;shortCodeService= new ShortcodeService();<br>        $this-&gt;shortCodeService-&gt;register(&#39;profile_card&#39;, function ($params) {<br>            return &quot;&lt;div class=&#39;col-md-3&#39;&gt; &lt;div class=&#39;card&#39;&gt;<br>              &lt;img src=&#39;https://png.pngtree.com/png-clipart/20190629/original/pngtree-vector-edit-profile-icon-png-image_4101351.jpg&#39; alt=&#39;John&#39; style=&#39;width:100%&#39;&gt;<br>              &lt;h1&gt;{$params[&#39;name&#39;]}&lt;/h1&gt;<br>              &lt;p class=&#39;title&#39;&gt;{$params[&#39;designation&#39;]}&lt;/p&gt;<br>              &lt;p&gt;{$params[&#39;university&#39;]}&lt;/p&gt;<br>              &lt;div style=&#39;margin: 24px 0;&#39;&gt;<br>                &lt;a href=&#39;#&#39;&gt;&lt;i class=&#39;fa fa-dribbble&#39;&gt;&lt;/i&gt;&lt;/a&gt;<br>                        &lt;a href=&#39;&#39;#&#39;&gt;&lt;i class=&#39;fa fa-twitter&#39;&gt;&lt;/i&gt;&lt;/a&gt;<br>                &lt;a href=&#39;#&#39;&gt;&lt;i class=&#39;fa fa-linkedin&#39;&gt;&lt;/i&gt;&lt;/a&gt;<br>                &lt;a href=&#39;#&#39;&gt;&lt;i class=&#39;fa fa-facebook&#39;&gt;&lt;/i&gt;&lt;/a&gt;<br>              &lt;/div&gt;<br><br>            &lt;/div&gt; &lt;/div&gt;&quot;;<br>        });<br>    }<br><br>    /**<br>     * Bootstrap any application services.<br>     *<br>     * @return void<br>     */<br>    public function boot()<br>    {<br>        $this-&gt;app-&gt;singleton(&#39;shortcode&#39;, function () {<br>            return $this-&gt;shortCodeService;<br>        });<br>    }<br>}</pre><h3>Step 3: Modify AppServiceProvider</h3><p>See the textarea box where we have added a shortcode with params( name, designation, university)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qNNUdpjYv6RNP1akYOGOWw.png" /><figcaption>textarea with shortcode</figcaption></figure><h3>Step 4: Render your blog content in blade</h3><pre>&lt;div class=&quot;container&quot;&gt;<br>    &lt;div class=&quot;row&quot;&gt;<br>        &lt;div class=&quot;mx-auto col-md-10&quot;&gt;<br>            {!!  app(&#39;shortcode&#39;)-&gt;render($blog-&gt;description); !!}<br>        &lt;/div&gt;<br>    &lt;/div&gt;<br>&lt;/div&gt;</pre><p>Final output in blade will be like below. You can generate any kind of html snippet using shortcode. Add necessary css in blade for rendering</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W34q0ejhojY9RCURh7s79w.png" /></figure><p>Hope that, you have learnt a lot from this. Learn always and do explore the world of coding.</p><p>I am regularly writing in this blog <a href="https://programmingmindset.com/">https://programmingmindset.com</a> . You enhance your skill and by visiting this website</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9c4880d3f71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is it Safe to Use PHPMyAdmin in VPS or Dedicated Server?]]></title>
            <link>https://arif98741.medium.com/is-it-safe-to-use-phpmyadmin-in-vps-or-dedicated-server-97affde1b473?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/97affde1b473</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[phpmyadmin]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Wed, 16 Oct 2024 06:17:55 GMT</pubDate>
            <atom:updated>2024-10-16T06:17:55.418Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LaZ1p3iAtNysSsPI7-EUSg.png" /></figure><p>Using phpMyAdmin on a public VPS can expose your database to security risks if not properly secured. Here are some tips to make it safer:</p><p>1. <strong>Access Control</strong>: Restrict access to phpMyAdmin by using IP whitelisting, so only trusted IP addresses can access it.</p><p>2. <strong>Use HTTPS</strong>: Always access phpMyAdmin over HTTPS to encrypt data transmitted between the client and server.</p><p>3. <strong>Strong Authentication</strong>: Use strong passwords for MySQL user accounts and consider implementing additional authentication methods, such as HTTP basic authentication.</p><p>4. <strong>Rename phpMyAdmin Directory</strong>: Change the default /phpmyadmin directory to something unique to make it less recognizable to attackers.</p><p>5. <strong>Keep Software Updated</strong>: Regularly update phpMyAdmin and your web server software to patch any security vulnerabilities.</p><p>6. <strong>Disable Root Access</strong>: Avoid allowing root access through phpMyAdmin. Create separate users with limited permissions.</p><p>7. <strong>Firewall Rules</strong>: Implement firewall rules to block unwanted traffic to your VPS.</p><p>8. <strong>Monitoring and Logging</strong>: Monitor access logs for suspicious activity and set up alerts for unauthorized access attempts.</p><p>By following these practices, you can significantly reduce the risks associated with using phpMyAdmin on a public VPS.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97affde1b473" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Laravel Framework Will Be The Best Priority for Making Web Application]]></title>
            <link>https://arif98741.medium.com/why-laravel-framework-will-be-the-best-priority-for-making-web-application-e37ae23c9a67?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/e37ae23c9a67</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[laravel-framework]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Thu, 11 Jul 2024 04:41:51 GMT</pubDate>
            <atom:updated>2024-07-11T04:41:51.870Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rFBQjOsQlWRC9iyFkKSRgg.png" /></figure><p>Laravel stands as a cornerstone in modern web development, renowned for its elegance, simplicity, and robust features. Born out of a desire to streamline PHP development, Laravel has evolved into a powerful framework that empowers developers to create sophisticated web applications with ease.</p><p>At its core, Laravel embraces the principles of clean, expressive syntax and aims to make common tasks such as routing, authentication, caching, and sessions intuitive and straightforward. This philosophy not only accelerates development but also enhances code maintainability and scalability.</p><p>Coding standard and other syntax are easy to write for developers. Here below some explanations.</p><h3>Route Definition</h3><p>In Laravel, routes are typically defined in the routes/web.php file for web routes or routes/api.php for API routes.</p><p>We define a GET route /posts that points to the index method of the PostController class.</p><pre>// routes/web.php <br>use App\Http\Controllers\PostController; <br><br>Route::get(&#39;/posts&#39;, [PostController::class, &#39;index&#39;]);</pre><h3>Controller Method</h3><p>Controllers in Laravel handle incoming requests and generate responses. Let’s define the index method in the PostController:</p><ul><li>We define the index method that fetches all posts from the database (Post::orderBy(&#39;created_at&#39;, &#39;desc&#39;)-&gt;get()).</li><li>Then, we pass these posts to a view called posts.index using Laravel&#39;s view helper function.</li></ul><pre>// app/Http/Controllers/PostController.php<br><br>namespace App\Http\Controllers;<br><br>use App\Models\Post;<br>use Illuminate\Http\Request;<br><br>class PostController extends Controller<br>{<br>    public function index()<br>    {<br>        $posts = Post::orderBy(&#39;created_at&#39;, &#39;desc&#39;)-&gt;get();<br>        <br>        return view(&#39;posts.index&#39;, [&#39;posts&#39; =&gt; $posts]);<br>    }<br>}</pre><h3>Explanation</h3><p><strong>Route Definition</strong>:</p><ul><li>Route::get(&#39;/posts&#39;, [PostController::class, &#39;index&#39;]); defines a GET route that responds to requests to /posts by invoking the index method of PostController.</li></ul><p><strong>Controller Method (</strong><strong>index)</strong>:</p><ul><li>index() method retrieves all posts from the database ordered by created_at descending.</li><li>It then passes these posts to a view called posts.index using Laravel&#39;s view rendering system.</li><li>Post::orderBy(&#39;created_at&#39;, &#39;desc&#39;)-&gt;get() uses Laravel&#39;s Eloquent ORM to fetch posts ordered by created_at in descending order.</li><li>return view(&#39;posts.index&#39;, [&#39;posts&#39; =&gt; $posts]); passes the retrieved posts to the view, making them available for presentation in the user interface.</li></ul><h3>Additional Points</h3><p><strong>Eloquent ORM</strong>: Laravel’s Eloquent ORM simplifies database operations by allowing you to work with database tables and relationships using PHP objects and methods, thus abstracting away SQL queries.</p><p><strong>Blade Templating</strong>: Laravel uses Blade, its own templating engine, to render views. This makes it easy to manage and present data in HTML format with minimal PHP code directly in your views.</p><p><strong>MVC Structure</strong>: Laravel follows the MVC (Model-View-Controller) architectural pattern, which promotes separation of concerns and makes your codebase more organized and maintainable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e37ae23c9a67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Website is Necessary for a Company]]></title>
            <link>https://arif98741.medium.com/why-website-is-necessary-for-a-company-916ed90f4b7f?source=rss-edee12b4fe5------2</link>
            <guid isPermaLink="false">https://medium.com/p/916ed90f4b7f</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[company]]></category>
            <dc:creator><![CDATA[Ariful Islam]]></dc:creator>
            <pubDate>Wed, 10 Jul 2024 19:01:27 GMT</pubDate>
            <atom:updated>2024-07-10T19:01:27.494Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating a website for your company can be a crucial step in growing your business and enhancing your marketing efforts. Here are several reasons why having a website is necessary, along with its business benefits, how it can affect company profit, and how it can help grow your business:</p><h3>1. Online Presence and Accessibility</h3><ul><li><strong>24/7 Availability:</strong> A website allows your business to be accessible to customers around the clock, even outside of regular business hours.</li><li><strong>Global Reach:</strong> You can reach a global audience, expanding your potential customer base beyond local boundaries.</li></ul><h3>2. Credibility and Professionalism</h3><ul><li><strong>First Impressions:</strong> A well-designed website can make a positive first impression and enhance your company’s credibility.</li><li><strong>Professional Image:</strong> It presents a professional image and can showcase your expertise, products, and services effectively.</li></ul><h3>3. Cost-Effective Marketing</h3><ul><li><strong>Digital Marketing:</strong> A website serves as a foundation for digital marketing strategies, including SEO, content marketing, social media marketing, and email marketing.</li><li><strong>Targeted Advertising:</strong> You can use tools like Google Ads and Facebook Ads to drive targeted traffic to your site, maximizing your marketing budget.</li></ul><h3>4. Customer Insights and Engagement</h3><ul><li><strong>Analytics:</strong> You can use tools like Google Analytics to gain insights into customer behavior, preferences, and demographics.</li><li><strong>Engagement:</strong> Features like blogs, forums, and chatbots can engage customers, provide valuable information, and build a community around your brand.</li></ul><h3>5. Sales and Revenue</h3><ul><li><strong>E-commerce:</strong> An online store can generate additional revenue by selling products or services directly to customers.</li><li><strong>Lead Generation:</strong> A website can capture leads through contact forms, newsletters, and gated content, which can be nurtured into customers.</li></ul><h3>6. Customer Support</h3><ul><li><strong>Information Hub:</strong> It serves as an information hub where customers can find answers to their questions, reducing the need for direct customer support.</li><li><strong>Self-Service:</strong> Features like FAQs, tutorials, and user guides empower customers to solve issues on their own.</li></ul><h3>7. Brand Building and Loyalty</h3><ul><li><strong>Brand Awareness:</strong> Regular updates, blogs, and news can keep your audience informed and engaged, helping to build brand awareness.</li><li><strong>Loyalty Programs:</strong> You can offer exclusive content, promotions, and loyalty programs to encourage repeat business.</li></ul><h3>8. Competitive Advantage</h3><ul><li><strong>Stay Competitive:</strong> In today’s digital age, having a website is often expected. Not having one can put you at a disadvantage compared to competitors who do.</li><li><strong>Innovation:</strong> A website allows you to showcase innovations, new products, and services quickly.</li></ul><h3>How It Will Affect Company Profit</h3><ul><li><strong>Increased Sales:</strong> By reaching a wider audience and providing a convenient way to purchase products or services, your website can increase sales.</li><li><strong>Reduced Costs:</strong> Digital marketing through your website can be more cost-effective than traditional marketing methods.</li><li><strong>Customer Retention:</strong> Improved customer service and engagement can lead to higher customer satisfaction and retention rates.</li></ul><h3>How It Will Grow Your Company Business</h3><ul><li><strong>Scalability:</strong> A website allows your business to scale more easily by handling a larger volume of customers without a corresponding increase in physical infrastructure.</li><li><strong>Partnerships:</strong> A professional online presence can attract potential business partners and investors.</li><li><strong>Innovation:</strong> Continuous updates and improvements to your website can keep your business at the forefront of industry trends and innovations.</li></ul><h3>Conclusion</h3><p>Investing in a website is a strategic move that can provide numerous benefits for your company. It not only enhances your marketing efforts but also contributes to overall business growth, profitability, and customer satisfaction.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=916ed90f4b7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>