<?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 Shaikh Nadeem on Medium]]></title>
        <description><![CDATA[Stories by Shaikh Nadeem on Medium]]></description>
        <link>https://medium.com/@shaikh.nadeem?source=rss-6f7c24cbfb27------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WVaV0KdLCFUKR_hsilzNTQ.jpeg</url>
            <title>Stories by Shaikh Nadeem on Medium</title>
            <link>https://medium.com/@shaikh.nadeem?source=rss-6f7c24cbfb27------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 00:09:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shaikh.nadeem/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[How to Upload, Crop, and Merge Images with Frames in Laravel using Intervention Image and Cropper.js]]></title>
            <link>https://medium.com/@shaikh.nadeem/how-to-upload-crop-and-merge-images-with-frames-in-laravel-using-intervention-image-and-cropper-js-600c32d284f7?source=rss-6f7c24cbfb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/600c32d284f7</guid>
            <category><![CDATA[intervention]]></category>
            <category><![CDATA[merger]]></category>
            <category><![CDATA[crop-image]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[Shaikh Nadeem]]></dc:creator>
            <pubDate>Tue, 08 Oct 2024 10:23:55 GMT</pubDate>
            <atom:updated>2024-10-08T10:37:09.785Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, you will learn how to build a web application that allows users to upload an image, crop it using the <strong>Cropper.js</strong> library, and then merge the cropped image with a selected frame using <strong>Laravel</strong> and <strong>Intervention Image</strong>. We will walk through the steps to create a cropping tool in JavaScript, handle image uploads in Laravel, and overlay the cropped image on top of a frame before saving it to the server.</p><h3>Prerequisites:</h3><ul><li>Basic knowledge of Laravel framework.</li><li>Familiarity with front-end JavaScript, specifically how to use libraries like Cropper.js.</li><li>Installed intervention/image package in your Laravel project.</li></ul><h3>Step 1: Install the Intervention Image Package</h3><p>First, make sure you have the <strong>Intervention Image</strong> package installed in your Laravel project. If not, install it by running the following command:</p><pre>composer require intervention/image</pre><pre>&#39;providers&#39; =&gt; [<br>    Intervention\Image\ImageServiceProvider::class,<br>],<br><br>&#39;aliases&#39; =&gt; [<br>    &#39;Image&#39; =&gt; Intervention\Image\Facades\Image::class,<br>],</pre><h3>Step 2: Create the Image Upload and Cropping Form</h3><p>We’ll start by creating an HTML form that allows users to upload an image, select a frame, crop the image, and finally submit the cropped image for processing. Here’s the blade view file (resources/views/upload.blade.php):</p><pre>&lt;form id=&quot;imageForm&quot; action=&quot;/save-image&quot; method=&quot;POST&quot; enctype=&quot;multipart/form-data&quot;&gt;<br>    @csrf<br>    &lt;div class=&quot;container&quot;&gt;<br>        &lt;div class=&quot;image-box&quot;&gt;<br>            &lt;div class=&quot;frame frame1&quot;&gt;<br>                &lt;img id=&quot;imageFrame1&quot; src=&quot;/uploads/frames/Atendee-kit-LinkedIn-landscape.png&quot; alt=&quot;Frame 1&quot;&gt;<br>                &lt;div class=&quot;image-wrapper&quot;&gt;<br>                    &lt;img id=&quot;croppedImage1&quot; src=&quot;&quot; alt=&quot;Cropped Image 1&quot;&gt;<br>                &lt;/div&gt;<br>            &lt;/div&gt;<br>            &lt;div class=&quot;frame frame2&quot;&gt;<br>                &lt;img id=&quot;imageFrame2&quot; src=&quot;/uploads/frames/Attendee-Kit-frame-Instagarm-post.png&quot; alt=&quot;Frame 2&quot;&gt;<br>                &lt;div class=&quot;image-wrapper&quot;&gt;<br>                    &lt;img id=&quot;croppedImage2&quot; src=&quot;&quot; alt=&quot;Cropped Image 2&quot;&gt;<br>                &lt;/div&gt;<br>            &lt;/div&gt;<br>        &lt;/div&gt;<br>        &lt;div class=&quot;cropper-container&quot;&gt;<br>            &lt;div id=&quot;imageCropperContainer&quot;&gt;<br>                &lt;img id=&quot;imageToCrop&quot; src=&quot;&quot; alt=&quot;Image to Crop&quot;&gt;<br>            &lt;/div&gt;<br>            &lt;button id=&quot;cropImageButton&quot; type=&quot;button&quot;&gt;Crop Image&lt;/button&gt;<br>        &lt;/div&gt;<br>    &lt;/div&gt;<br><br>    &lt;input type=&quot;radio&quot; id=&quot;frame1&quot; value=&quot;Atendee-kit-LinkedIn-landscape&quot; name=&quot;selected_frame&quot; checked&gt;Select Frame 1&lt;br&gt;<br>    &lt;input type=&quot;radio&quot; id=&quot;frame2&quot; value=&quot;Attendee-Kit-frame-Instagarm-post&quot; name=&quot;selected_frame&quot;&gt;Select Frame 2&lt;br&gt;<br>                <br>    &lt;input type=&quot;file&quot; id=&quot;imageUpload&quot; name=&quot;imageUpload&quot;&gt;<br>    &lt;button type=&quot;submit&quot; id=&quot;saveImage&quot;&gt;Save Image&lt;/button&gt;<br>&lt;/form&gt;</pre><pre>&lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.12/cropper.min.css&quot;&gt;<br>&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.12/cropper.min.js&quot;&gt;&lt;/script&gt;<br>&lt;style&gt;<br>    .frame {<br>        width: 300px;<br>        height: 300px;<br>        margin-right: 20px;<br>        border: 1px solid #ccc;<br>        padding: 2px;<br>        margin-bottom: 20px;<br>        border-radius: 5px;<br>        position: relative;<br>    }<br>    .image-box {<br>        display: flex;<br>        float: left;<br>    }<br>    .frame img {<br>        width: 100%;<br>    }<br>    .cropper-container {<br>        margin-bottom: 20px;<br>    }<br>    #imageCropperContainer {<br>        position: relative;<br>        width: 300px;  /* Adjust size as needed */<br>        height: 300px; /* Adjust size as needed */<br>        border: 1px solid #ccc;<br>        overflow: hidden;<br>    }<br>    .frame1 .image-wrapper {<br>        position: absolute;<br>        width: 116px;<br>        top: 11px;<br>        left: 15px;<br>        z-index: -1;<br>    }<br>    .frame2 .image-wrapper {<br>        position: absolute;<br>        width: 270px;<br>        top: 30px;<br>        left: 17px;<br>        z-index: -1;<br>    }<br><br>    #croppedImage1, #croppedImage2 {<br>        width: 100%;<br>        height: 100%;<br>        object-fit: cover;<br>    }<br>&lt;/style&gt;</pre><h3>Step 3: Handling Image Cropping Using Cropper.js</h3><p>We are using the <strong>Cropper.js</strong> library to allow users to select and crop an image. Here’s the JavaScript code that powers the cropping functionality:</p><pre>let cropper;<br>const imageToCrop = document.getElementById(&#39;imageToCrop&#39;);<br>const imageUpload = document.getElementById(&#39;imageUpload&#39;);<br>const croppedImage1 = document.getElementById(&#39;croppedImage1&#39;);<br>const croppedImage2 = document.getElementById(&#39;croppedImage2&#39;);<br><br>// Handle image upload<br>imageUpload.addEventListener(&#39;change&#39;, function (e) {<br>    const file = e.target.files[0];<br>    const reader = new FileReader();<br><br>    reader.onload = function (event) {<br>        imageToCrop.src = event.target.result;<br><br>        // Destroy old cropper instance if it exists<br>        if (cropper) cropper.destroy();<br><br>        // Initialize Cropper.js<br>        cropper = new Cropper(imageToCrop, {<br>            aspectRatio: 1,<br>            viewMode: 1,<br>            movable: true,<br>            zoomable: true,<br>            scalable: true,<br>            rotatable: false,<br>        });<br>    };<br><br>    reader.readAsDataURL(file);<br>});<br><br>// Crop image and place into frames<br>document.getElementById(&#39;cropImageButton&#39;).addEventListener(&#39;click&#39;, function () {<br>    if (!cropper) return;<br><br>    const croppedCanvas = cropper.getCroppedCanvas();<br>    const croppedDataURL = croppedCanvas.toDataURL();<br><br>    croppedImage1.src = croppedDataURL;<br>    croppedImage2.src = croppedDataURL;<br>});<br><br>// Save cropped image on form submission<br>document.getElementById(&#39;saveImage&#39;).addEventListener(&#39;click&#39;, function (event) {<br>    event.preventDefault();  // Prevent form submission<br><br>    const form = document.getElementById(&#39;imageForm&#39;);<br>    if (!cropper) return;<br><br>    const canvas = cropper.getCroppedCanvas();<br>    canvas.toBlob(function (blob) {<br>        const formData = new FormData(form);<br>        formData.append(&#39;cropped_image&#39;, blob);<br><br>        fetch(form.action, {<br>            method: &#39;POST&#39;,<br>            headers: {&#39;X-CSRF-TOKEN&#39;: document.querySelector(&#39;meta[name=&quot;csrf-token&quot;]&#39;).getAttribute(&#39;content&#39;)},<br>            body: formData<br>        })<br>        .then(response =&gt; response.json())<br>        .then(data =&gt; {<br>            console.log(&#39;Image saved:&#39;, data.path);<br>        });<br>    });<br>});</pre><h3>Step 4: Processing the Image in Laravel Controller</h3><p>When the user submits the form, the cropped image will be sent to Laravel for further processing. In the controller, we will handle saving the cropped image and overlay it with a selected frame. Below is the controller code:</p><pre>public function saveImageWithFrame(Request $request) {<br>    $imagePath = $request-&gt;file(&#39;cropped_image&#39;)-&gt;store(&#39;uploads&#39;, &#39;public&#39;);<br><br>    $image = Image::make(storage_path(&#39;app/public/&#39; . $imagePath));<br>    $frameName = $request-&gt;selected_frame;<br>    $framePath = public_path(&quot;uploads/frames/{$frameName}.png&quot;);<br>    <br>    if (!file_exists($framePath)) {<br>        return back()-&gt;withErrors([&#39;error&#39; =&gt; &#39;Selected frame image does not exist.&#39;]);<br>    }<br><br>    $frame = Image::make($framePath);        <br>    if ($request-&gt;selected_frame == &#39;landscape&#39;) { // Frame 1<br>        $image-&gt;resize(458, 458);<br>    } else if ($request-&gt;selected_frame == &#39;portrait&#39;) { // Frame 2<br>        $image-&gt;resize(967, 967);<br>    } else {<br>        $image-&gt;resize($frame-&gt;width(), $frame-&gt;height());<br>    }<br><br>    <br>  // Prepare a new canvas to hold both the frame and the cropped image<br>  $canvasHeight = $frame-&gt;height(); // Height will just be the height of the frame<br>  $canvasWidth = $frame-&gt;width(); // Width will match the frame width<br><br>  // Create a new canvas with transparent background<br>  $canvas = Image::canvas($canvasWidth, $canvasHeight, [0, 0, 0, 0]); // Transparent background<br><br>    if ($request-&gt;selected_frame == &#39;landscape&#39;) { // Frame 1<br>        //  $frame-&gt;insert($image, &#39;top-left&#39;, 60, 45);<br>        $canvas-&gt;insert($image, &#39;top-left&#39;, 60, 45); // Position cropped image within the frame<br>        $canvas-&gt;insert($frame, &#39;top-left&#39;, 0, 0);   // Place the frame on top<br>    } else if ($request-&gt;selected_frame == &#39;portrait&#39;) { // Frame 2<br>        // $frame-&gt;insert($image, &#39;center&#39;);<br>        $canvas-&gt;insert($image, &#39;center&#39;);<br>        $canvas-&gt;insert($frame, &#39;center&#39;);<br>    } else {<br>        $canvas-&gt;insert($image, &#39;center&#39;);<br>        $canvas-&gt;insert($frame, &#39;center&#39;);<br>    }<br><br>    $finalImagePath = &#39;merged_&#39; . time() . &#39;.png&#39;;<br>    storage_path(&#39;app/public/&#39; . $finalImagePath);<br>//        $image-&gt;save(public_path(&#39;uploads/cropped/&#39; . $finalImagePath));<br>        $canvas-&gt;save(public_path(&#39;uploads/cropped/&#39; . $finalImagePath));<br><br>    return back()-&gt;with(&#39;success&#39;, &#39;Image uploaded and merged successfully!&#39;)<br>                 -&gt;with(&#39;path&#39;, $finalImagePath);<br>}</pre><h3>Step 5: Testing the Implementation</h3><p>At this point, you should be able to:</p><ul><li>Upload an image.</li><li>Crop it using Cropper.js.</li><li>Select a frame.</li><li>Merge the cropped image with the selected frame.</li><li>Save the final image on the server.</li></ul><p>Once the image is saved, you can access it via the path returned from the controller.</p><h3>Conclusion</h3><p>This guide provides a complete solution for cropping and merging images with frames in Laravel using Intervention Image and Cropper.js. It showcases how to build a user-friendly interface for uploading and cropping images while managing backend image manipulation efficiently. This method can be extended to handle multiple frame selections, dynamic frame dimensions, or even image filtering for more advanced functionality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=600c32d284f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use ExcelJs in React with Hyperlinks and Formulas: A Complete Code Guide]]></title>
            <link>https://medium.com/@shaikh.nadeem/how-to-implement-conditional-hyperlinks-and-formulas-in-excel-with-exceljs-a-complete-code-guide-f5f849b00781?source=rss-6f7c24cbfb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5f849b00781</guid>
            <category><![CDATA[excel-export]]></category>
            <category><![CDATA[formula]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[exceljs]]></category>
            <category><![CDATA[fonts]]></category>
            <dc:creator><![CDATA[Shaikh Nadeem]]></dc:creator>
            <pubDate>Thu, 01 Aug 2024 08:59:50 GMT</pubDate>
            <atom:updated>2024-08-03T09:21:21.105Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>In this tutorial, we’ll explore how to use ExcelJS to generate Excel files with both conditional hyperlinks and formulas. ExcelJS is a powerful library for manipulating Excel files in JavaScript, and it allows us to dynamically create and manage Excel documents. We will walk through a step-by-step guide to implement conditional hyperlinks based on cell values and apply complex formulas to your Excel sheets.</p><p><strong>Prerequisites</strong></p><p>Before we get started, ensure you have the following:</p><ul><li>Basic knowledge of JavaScript and React.</li><li>Node.js and npm installed on your system.</li><li>Familiarity with ExcelJS and how it integrates with React.</li></ul><p><strong>Setting Up Your Project</strong></p><p>First, set up your React project and install the necessary libraries. If you haven’t set up your project yet, follow these steps:</p><pre>npx create-react-app exceljs-example<br>cd exceljs-example<br>npm install exceljs file-saver</pre><p><strong>Creating the Excel Export Component</strong></p><p>We’ll create a React component that generates an Excel file. This component will include:</p><ul><li>Conditional hyperlinks based on cell values.</li><li>Formulas for dynamic calculations.</li></ul><p>Here’s the complete code for our ExcelExport component:</p><pre>import React from &#39;react&#39;;<br>import ExcelJS from &#39;exceljs&#39;;<br>import { saveAs } from &#39;file-saver&#39;;<br><br>class ExcelExport extends React.Component {<br>    const exportToExcel = async (e) =&gt; {<br>        e.preventDefault();<br><br>        try {<br>            if (getSelectedRows.length == 0) {<br>                alert(&#39;Please select cart Item&#39;)<br>                return false;<br>            }<br><br>            const customSheet = getSelectedRows.map(item =&gt; ({<br>                &quot;User No&quot;: item ? .USER_NUMBER,<br>                &quot;Carats&quot;: item ? .CHK_CARATS,<br>                &quot;Cert&quot;: item ? .CERT,<br>                &quot;Cert No&quot;: item ? .CERT_NO,<br>                &quot;Color&quot;: item ? .COLOR_CODE,<br>                &quot;Rap $&quot;: item ? .BASE,<br>                &quot;Calc. Rap&quot;: &#39;&#39;,<br>                &quot;Dis %&quot;: item ? .DISCOUNT<br>                &quot;Price/Ct &#39;000&quot;: &#39;&#39;,<br>                &quot;Total&quot;: &#39;&#39;,<br>            }));<br><br>            console.log(&quot;custom sheet ==&gt; &quot;, customSheet);<br><br>            // Create a new workbook and worksheet<br>            const workbook = new ExcelJS.Workbook();<br>            const worksheet = workbook.addWorksheet(&#39;Product&#39;);<br><br>            // Define the columns<br>            worksheet.columns = Object.keys(customSheet[0]).map(key =&gt; ({<br>                header: key,<br>                key: key,<br>                width: 20<br>            }));<br><br>            // Add rows<br>            customSheet.forEach(item =&gt; {<br>                worksheet.addRow(item);<br>            });<br><br>            // Apply formulas to the appropriate columns<br>            worksheet.eachRow((row, rowNumber) =&gt; {<br>                if (rowNumber &gt; 1) { // Skip the header row<br>                    // Formula for &quot;Calc. Rap&quot; column<br>                    const caratsCell = row.getCell(&#39;Carats&#39;);<br>                    const baseCell = row.getCell(&#39;Rap $&#39;);<br>                    const calcRapCell = row.getCell(&#39;Calc. Rap&#39;);<br>                    calcRapCell.value = {<br>                      formula: `${caratsCell.address}*${baseCell.address}`,<br>                      result: caratsCell.value * baseCell.value<br>                    };<br>          <br>                    // Formula for &quot;Price/Ct &#39;000&quot; column<br>                    const disCell = row.getCell(&#39;Dis %&#39;);<br>                    const priceCtCell = row.getCell(&quot;Price/Ct &#39;000&quot;);<br>                    priceCtCell.value = {<br>                      formula: `${disCell.address}*${baseCell.address}`,<br>                      result: disCell.value * baseCell.value<br>                    };<br>          <br>                    // Formula for &quot;Total&quot; column<br>                    const totalCell = row.getCell(&#39;Total&#39;);<br>                    totalCell.value = {<br>                      formula: `(${baseCell.address}*${disCell.address})*${caratsCell.address}`,<br>                      result: (baseCell.value * disCell.value) * caratsCell.value<br>                    };<br>          <br>                    //Hyper link on cell<br>                    const certCell = row.getCell(&#39;Cert&#39;);<br>                    const certCellValue = row.getCell(&#39;Cert&#39;);<br>                    const certNoValue = row.getCell(&#39;Cert No&#39;);<br>                    if(certCellValue.value == &#39;first&#39;){ //condition based on current value<br>                      certCell.value = {<br>                        formula: `HYPERLINK(&quot;https://www.abc.com/?r=${certNoValue.value}&quot;, &quot;${certCellValue.value}&quot;)`<br>                      };<br>                    }<br>                    if(certCellValue.value == &#39;second&#39;){ //condition based on current value<br>                      certCell.value = {<br>                        formula: `HYPERLINK(&quot;https://www.def.com/?r=${certNoValue.value}&quot;, &quot;${certCellValue.value}&quot;)`<br>                      };<br>                    }<br>          <br>                    // Display Cert cell text in the cell<br>                    certCell.style = { font: { color: { argb: &#39;FF0000FF&#39; }, size: 12, name: &#39;inter&#39;  } }; // Blue text color                 <br>            <br>                    // row bg color<br>                    // Apply background color to the row based on the Cert value<br>                    if (certCell.value.formula.includes(&#39;&quot;first&quot;&#39;)) {<br>                      row.eachCell({ includeEmpty: true }, (cell) =&gt; {<br>                        cell.fill = {<br>                          type: &#39;pattern&#39;,<br>                          pattern: &#39;solid&#39;,<br>                          fgColor: { argb: &#39;FFCCCCFF&#39; } // Light purple background for first<br>                        };<br>                        cell.font = { size: 12, name: &#39;inter&#39; };<br>                      });<br>                    } else if (certCell.value.formula.includes(&#39;&quot;second&quot;&#39;)) {<br>                      row.eachCell({ includeEmpty: true }, (cell) =&gt; {<br>                        cell.fill = {<br>                          type: &#39;pattern&#39;,<br>                          pattern: &#39;solid&#39;,<br>                          fgColor: { argb: &#39;FFFFFFCC&#39; } // Light yellow background for second<br>                        };<br>                      });<br>                    } else {<br>                      row.eachCell({ includeEmpty: true }, (cell) =&gt; {<br>                        cell.fill = {<br>                          type: &#39;pattern&#39;,<br>                          pattern: &#39;solid&#39;,<br>                          fgColor: { argb: &#39;FFCCFFCC&#39; } // Light green background for others<br>                        };<br>                      });<br>                    }<br>                    // Apply border<br>                    row.eachCell({ includeEmpty: true }, (cell) =&gt; {<br>                      cell.border = {<br>                        top: { style: &#39;thin&#39; },<br>                        left: { style: &#39;thin&#39; },<br>                        bottom: { style: &#39;thin&#39; },<br>                        right: { style: &#39;thin&#39; }<br>                      };<br>                    });<br><br>                  }<br>            });<br><br>            // Apply styles to the header row<br>            const headerRow = worksheet.getRow(1);<br>            headerRow.eachCell((cell) =&gt; {<br>                cell.fill = {<br>                    type: &#39;pattern&#39;,<br>                    pattern: &#39;solid&#39;,<br>                    fgColor: { argb: &#39;451020&#39; }, // voilet background<br>                    bgColor: { argb: &#39;451020&#39; } // voilet background<br>                };<br>                cell.font = {<br>                    bold: true,<br>                    color: { argb: &#39;FFFFFFFF&#39; } // white text<br>                    size: 12, // Font size 14 for header<br>                    name: &#39;inter&#39; // Custom font family for header<br>                };<br>            });<br><br>            // Generate Excel file buffer<br>            const buffer = await workbook.xlsx.writeBuffer();<br><br>            // Save the Excel file<br>            saveAs(new Blob([buffer]), &#39;cart.xlsx&#39;);<br>        } catch (error) {<br>            console.error(&#39;Error exporting data to Excel:&#39;, error);<br>        }<br><br>    };<br><br>    render() {<br>        return (<br>            &lt;div&gt;<br>        &lt;button onClick={this.exportToExcel}&gt;Export to Excel&lt;/button&gt;<br>      &lt;/div&gt;<br>        );<br>    }<br>}<br><br>export default ExcelExport;</pre><p><strong>Explanation</strong></p><ol><li><strong>Setup and Columns</strong>:</li></ol><ul><li>We first create a new Excel workbook and add a worksheet. Columns are defined with headers and keys.</li></ul><p>2. <strong>Adding Rows and Formulas</strong>:</p><ul><li>Data rows are added with specific formulas:</li><li><strong>Calc. Rap</strong>: Multiplies Carats by Rap $.</li><li><strong>Price/Ct &#39;000</strong>: Calculates the price per carat with a discount.</li><li><strong>Total</strong>: Calculates the total value based on base price, discount, and carats.</li><li><strong>Conditional Hyperlinks</strong>: The Cert column uses a formula to generate URLs based on the value of Cert No.</li></ul><p><strong>3. Styling</strong>:</p><ul><li>The header row is styled with a yellow background and white font.</li></ul><p><strong>4. Saving the File</strong>:</p><ul><li>The workbook is written to a buffer and saved as an Excel file using file-saver.</li></ul><p><strong>Conclusion</strong></p><p>In this guide, we’ve demonstrated how to use ExcelJS to create Excel files with dynamic conditional hyperlinks and complex formulas. This approach is useful for generating interactive and data-rich Excel reports directly from your web applications. If you have any questions or run into issues, feel free to ask in the comments!</p><p><strong>Tags</strong>: ExcelJS, Excel Export, Hyperlinks, Conditional Logic, Formulas, JavaScript, React, Programming</p><p>Here’s the complete code for our ExcelExport component:</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5f849b00781" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exporting Data to CSV Files in Laravel: A Step-by-Step Guide]]></title>
            <link>https://medium.com/@shaikh.nadeem/exporting-data-to-csv-files-in-laravel-a-step-by-step-guide-e67ac0d3efd7?source=rss-6f7c24cbfb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/e67ac0d3efd7</guid>
            <dc:creator><![CDATA[Shaikh Nadeem]]></dc:creator>
            <pubDate>Thu, 27 Jun 2024 06:14:55 GMT</pubDate>
            <atom:updated>2024-06-27T06:14:55.708Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you tired of manually exporting data from your Laravel application? Do you want to provide your users with a seamless way to download data in a CSV format? Look no further! In this post, we’ll explore how to export data to a CSV file in Laravel using a simple and efficient approach.</p><p>We’ll dive into the code and break down each step, from retrieving data from the database to writing it to a CSV file and finally, downloading the file to the user’s machine. By the end of this post, you’ll have a solid understanding of how to implement CSV exports in your Laravel application.</p><pre>$user = DB::table(&#39;USERS&#39;)-&gt;get();<br><br>// Write data to CSV<br>$csvFileName = &#39;user.csv&#39;;<br>$csvFile = fopen($csvFileName, &#39;w&#39;);<br>$headers = array_keys((array) $data[0]); // Get the column headers from the first row<br>fputcsv($csvFile, $headers);<br><br>foreach ($data as $row) {<br>    fputcsv($csvFile, (array) $row);<br>}<br><br>fclose($csvFile);<br><br>// Download the CSV file<br>return Response::download(public_path($csvFileName))-&gt;deleteFileAfterSend(true);</pre><p>In this code snippet, we’ll cover:</p><ul><li>Retrieving data from the database using Laravel’s Eloquent ORM</li><li>Writing data to a CSV file using PHP’s built-in fputcsv function</li><li>Downloading the CSV file to the user’s machine using Laravel’s Response facade</li></ul><p>By following this step-by-step guide, you’ll be able to implement CSV exports in your Laravel application with ease.</p><h4>Here is a more detailed explanation of the code:</h4><p><strong>Retrieving Data from the Database</strong></p><p>The first line of the code retrieves data from the USERS table in the database using Laravel&#39;s Eloquent ORM:</p><pre>$user = DB::table(&#39;USERS&#39;)-&gt;get();</pre><p>This line uses the DB facade to access the database and retrieve all records from the USERS table. The get() method returns a collection of objects, where each object represents a single row in the table.</p><p><strong>Preparing the CSV File</strong></p><p>The next few lines prepare the CSV file for writing:</p><pre>$csvFileName = &#39;user.csv&#39;;<br>$csvFile = fopen($csvFileName, &#39;w&#39;);</pre><p>Here, we define the name of the CSV file (customer-quotation.csv) and open it in write mode (&#39;w&#39;) using the fopen function. This creates a new file or overwrites an existing one with the same name.</p><p><strong>Getting Column Headers</strong></p><p>To get the column headers for the CSV file, we use the first row of the data:</p><pre>$headers = array_keys((array) $data[0]);</pre><p>Here, we assume that the first row of the data ($data[0]) contains the column headers. We convert the object to an array using the (array) cast, and then use the array_keys function to get an array of column names.</p><p><strong>Writing Data to the CSV File</strong></p><p>Next, we write the column headers to the CSV file:</p><pre>fputcsv($csvFile, $headers);</pre><p>The fputcsv function writes an array of values to the CSV file as a single row. In this case, we pass the $headers array to write the column headers to the file.</p><p>Then, we loop through the remaining rows of data and write each row to the CSV file:</p><pre>foreach ($data as $row) {<br>    fputcsv($csvFile, (array) $row);<br>}</pre><p>Here, we loop through the $data collection and write each row to the CSV file using the fputcsv function. We convert each row object to an array using the (array) cast to ensure that the data is written correctly to the CSV file.</p><p><strong>Closing the CSV File</strong></p><p>Finally, we close the CSV file:</p><pre>fclose($csvFile);</pre><p>This ensures that the file is properly closed and resources are released.</p><p><strong>Downloading the CSV File</strong></p><p>The last line of the code returns a response that downloads the CSV file to the user’s machine:</p><pre>return Response::download(public_path($csvFileName))-&gt;deleteFileAfterSend(true);</pre><p>Here, we use the Response facade to create a download response. We pass the path to the CSV file using the public_path function, which returns the path to the public directory in the Laravel project.</p><p>The deleteFileAfterSend method is called with true as an argument, which ensures that the CSV file is deleted from the server after it is sent to the user. This is a good practice to avoid cluttering the server with temporary files.</p><p>By following this code, you can easily export data from your Laravel application to a CSV file and provide it to your users for download.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e67ac0d3efd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To install Trellis on Ubantu]]></title>
            <link>https://medium.com/@shaikh.nadeem/how-to-install-trellis-on-ubantu-ae6262077280?source=rss-6f7c24cbfb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae6262077280</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[trellis]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[wordpress]]></category>
            <dc:creator><![CDATA[Shaikh Nadeem]]></dc:creator>
            <pubDate>Sat, 18 Jan 2020 06:43:13 GMT</pubDate>
            <atom:updated>2020-01-18T06:43:13.123Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Trellis ?</h3><p>Trellis is a tool to easily create development and production servers to host WordPress sites and also Its a tool that uses Vagrant to stop clutters in your host machine by creating a self-contained virtual machine. It’s specifically created to work with Bedrock-based sites as well. Trellis’ default use case is to use it to develop with Vagrant and in production as well to get parity between those two environments.Powered by Ansible, Trellis will give you a WordPress server that will configure the software that you need. You also just need a single command to provision and deploy and a remote server. Using this tool will speed up the setup of a complete WordPress serve</p><h3>What is BedRock ?</h3><p>The main reason to use Bedrock is to get proper dependency and package management for a WordPress project. BedRock is a WordPress boilerplate tool that will give you an improved WordPress project structure.<br>This will also make development more collaborative and reliable, not to mention, a better maintained Git depository. Developers will be able to see the same version of libraries for the entire project.</p><h3>Part I :- Requirement</h3><p>Let’s talk about requirements and assumptions. I’m assuming you’re using Sublime ( Text Editor ) and you understand how to use your terminal. Follow the links below and install the following software.</p><p>Getting started, first you need to install these dependencies (or, make sure they are up-to-date):</p><ul><li>Ansible</li><li>Virtual Box &gt;= 4.3.10</li><li>Vagrant &gt;= 1.8.5</li><li>Latest LTS Node.js &gt;= 6.11.4</li><li>yarn</li><li>Composer</li></ul><h4>Create a new directory for the site.</h4><pre># Move into the directory where where you keep dev projects.<br>cd ~/dev/code.lengstorf.com/projects/</pre><pre># Create a new directory for this project<br>mkdir learn-trellis</pre><pre># Move into the new directory.<br>cd learn-trellis/</pre><h4>Get a copy of Trellis to manage environments and deployment.</h4><pre># Clone Trellis, but without all the Git history.<br>git clone --depth=1 git@github.com:roots/trellis.git</pre><pre># Delete the `.git` file so we can have our own Git repo.<br>rm -rf trellis/.git</pre><h3>Install Ansible dependencies.</h3><p>One of the most powerful parts of Ansible is the ability to use community-supplied scripts — called “roles” in the Ansible world — rather than having to write them from scratch or copy-paste them from various forums and tutorials.</p><pre># Move into the Trellis directory<br>cd trellis/</pre><pre># Install the Ansible dependencies for Trellis.<br>ansible-galaxy install -r requirements.yml</pre><h3>Part II :- Install Bedrock and Trellis</h3><p>Bedrock is a modern WordPress stack that helps you get started with the best development tools and project structure. Bedrock have standard WordPress plus some additional things to make the configuration, dependency management and the folder structure more friendly when developing.</p><h3>Features</h3><ul><li>Better folder structure</li><li>Dependency management with Composer</li><li>Easy WordPress configuration with environment specific files</li><li>Environment variables with Dotenv(.env)</li><li>Autoloader for mu-plugins (use regular plugins as mu-plugins)</li><li>Enhanced security (separated web root and secure passwords with wp-password-bcrypt)</li></ul><h3>Requirements</h3><ul><li>PHP &gt;= 7.1</li><li>Composer — Install</li></ul><pre># Move back into the project root.<br>cd ..</pre><pre># Clone Bedrock to the `site` directory.<br>git clone --depth=1 git@github.com:roots/bedrock.git site</pre><pre># Remove the `.git` file so we can have our own Git repo.<br>rm -rf site/.git</pre><h3>Configure a Development Site</h3><p>At this point, our example.com directory should look like this:</p><pre>example.com/      # → Root folder for the project<br>├── trellis/      # → You&#39;ver clone of Trellis<br>└── site/         # → A Bedrock-based WordPress site (cloned as well)</pre><p>You’ve’re doing great!</p><p>Now let’s get into something a bit more challenging. We’re going into the Trellis directory and need to edit some variables to bring this local WordPress installation to life. I’m assuming you have Sublime Text 3 installed and you’re still in the root of example.com<br>Edit the wordpress_sites.yml file first:</p><p>Open wordpress_sites.yml in your editor</p><pre>trellis/group_vars/development/wordpress_sites.yml</pre><p>Then just make sure it looks like this. Replace example.com with the name of the project you have chosen.</p><pre># Documentation: <a href="https://roots.io/trellis/docs/local-development-setup/">https://roots.io/trellis/docs/local-development-setup/</a><br># `wordpress_sites` options: <a href="https://roots.io/trellis/docs/wordpress-sites">https://roots.io/trellis/docs/wordpress-sites</a><br># Define accompanying passwords/secrets in group_vars/development/vault.yml</pre><pre>wordpress_sites:<br>  example.com:<br>    site_hosts:<br>      - canonical: example.dev<br>        redirects:<br>          - <a href="http://www.example.dev/">www.example.dev</a><br>    local_path: ../site # path targeting local Bedrock site directory (relative to Ansible root)<br>    admin_email: admin@example.dev<br>    multisite:<br>      enabled: false<br>    ssl:<br>      enabled: false<br>      provider: self-signed<br>    cache:<br>      enabled: false</pre><h3>Add credentials to vault.yml</h3><p>Now Open the File trellis/group_vars/development/vault.yml</p><pre># Make sure the site name (`example.com`) must match up with the site name<br># in the file we previously edited: `group_vars/development/wordpress_sites.yml`<br># By default Trellis will provision a user `admin` too, below you can set a different<br># password if you&#39;d like<br></pre><pre># Documentation: <a href="https://roots.io/trellis/docs/vault/">https://roots.io/trellis/docs/vault/</a><br>vault_mysql_root_password: devpw</pre><pre># Variables to accompany `group_vars/development/wordpress_sites.yml`<br># Note: the site name (`example.com`) must match up with the site name in the above file.<br>vault_wordpress_sites:<br>  example.com:<br>    admin_password: admin<br>    env:<br>      db_password: example_dbpassword</pre><p>Don’t worry about the other. Yml files in the development folder for now.</p><p>We also need to update admin_password, which is the password we’ll use to log into WordPress’s dashboard.<br>And finally, we’ll add strong passwords for the MySQL root user and the site’s DB access.<br>Make the following changes in vault.yml:</p><p>After done all changes on vault.yml then you file looks like</p><pre># Documentation: <a href="https://roots.io/trellis/docs/vault/">https://roots.io/trellis/docs/vault/</a><br> vault_mysql_root_password: &quot;xy&amp;G6o2kKH$#AFz247N.&quot;</pre><pre>  # Variables to accompany `group_vars/development/wordpress_sites.yml`<br>  # Note: the site name (`example.com`) must match up with the site name in the   above file.<br>  vault_wordpress_sites:<br>   example.com:<br>     admin_password: &quot;DM93zj,o29KjT/bh$8G$&quot;<br>      env:<br>       db_password: &quot;qP42q2*?hjt.P+x7Bzc6&quot;</pre><h3>Part III : — Vagrant</h3><p>Vagrant is our savior. It sits between us and the Virtual Box, and does most of the talking. To get our machine running our new local setup we configured (in the wordpress_sites.yml and vault.yml files), we have to go down into our trellis directory and get vagrant running:</p><pre>cd trellis &amp;&amp; vagrant up</pre><p>By now you should see this a few commands trickling in. At some point vagrant will ask for your sudo password because it needs root permissions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/0*v-g874v6jsyJIvLm.png" /></figure><p>Enter your password and vagrant will begin installing, provisioning and start running tasks your virtual-machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/0*SNcw-t7ImoF3vVRH.png" /></figure><p>At this point, take a break and chill. The total installation/provision time varies from machine to machine, but it takes around 10–15 minutes. Once the provisioner is done (provided that no errors stopped the installation), you can open your browser and navigate to example.test and you should see this:</p><p>To log into the WordPress dashboard, head to <a href="http://example.com/wp/wp-admin/">http://example.com/wp/wp-admin/</a> in your browser and use the admin_password we set in vault.yml earlier.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae6262077280" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to hide admin notices for a specific role in WordPress]]></title>
            <link>https://medium.com/@shaikh.nadeem/how-to-hide-admin-notices-for-a-specific-role-in-wordpress-a67a04f67d92?source=rss-6f7c24cbfb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/a67a04f67d92</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[wordpress]]></category>
            <dc:creator><![CDATA[Shaikh Nadeem]]></dc:creator>
            <pubDate>Fri, 25 Oct 2019 16:18:40 GMT</pubDate>
            <atom:updated>2019-10-25T16:18:40.883Z</atom:updated>
            <content:encoded><![CDATA[<p>For all the WordPress users, it is really annoying when WordPress update notice is displayed on the dashboard if there is an upgrade available for the installed WordPress version. The notice will not clear until WordPress is upgraded to the latest version. Similarly, the update notice for installed plugins &amp; themes is displayed on the WordPress dashboard, plugins &amp; themes pages. In this article, I will show you how to disable update notifications for core WordPress as well as for plugins and themes.</p><p>The purpose of these errors is to help developers debug issues with their code. Plugin and theme developers need this information to check for compatibility and best practices.</p><p>Here a few lines of code you can easily use to remove those notices.</p><pre>function dsourc_hide_notices(){<br>	$user = wp_get_current_user();<br>	if (!($user-&gt;roles[0] == &#39;administrator&#39;)) {<br>		remove_all_actions( &#39;admin_notices&#39; );<br>	}<br>}<br>add_action( &#39;admin_head&#39;, &#39;dsourc_hide_notices&#39;, 1 );</pre><p>Here the steps you can follow to correctly remove other plugins/theme admin notices in your administration panels.</p><ol><li><strong>Create a Function</strong> name as you want.</li><li>fetch <strong>Current user</strong> whether he is an admin or on your custom role user,</li><li><strong>Detect your admin pages</strong> by using “<strong>if (!($user-&gt;roles[0] == ‘administrator’))</strong>” You need to know when to remove the notices and limit that action only to your administration pages. Hence you need a way to determine when the user is looking at your pages, for example looking at the “page” request parameter.</li><li><strong>Remove all registered admin notice actions</strong> WP lets everyone to remove all attached functions to an event, so we can remove all other plugins/theme actions.</li><li><strong>Add our notices</strong>Once removed other notices we can add our if needed.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a67a04f67d92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Add Reading time in WordPress without using plugin]]></title>
            <link>https://medium.com/@shaikh.nadeem/how-to-add-reading-time-in-wordpress-without-using-plugin-d2e8af7b1239?source=rss-6f7c24cbfb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2e8af7b1239</guid>
            <category><![CDATA[wordpress-themes]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[wordpress-web-development]]></category>
            <category><![CDATA[plugins]]></category>
            <dc:creator><![CDATA[Shaikh Nadeem]]></dc:creator>
            <pubDate>Wed, 22 May 2019 18:20:29 GMT</pubDate>
            <atom:updated>2024-08-01T08:34:57.997Z</atom:updated>
            <content:encoded><![CDATA[<h3>Reading Time in WordPress</h3><p>When you get a visitor to your site, most probably you want them to stay on your website as long as possible and information that you will give them that will help is worth the effort. on many websites, Blogs, and Posts we have noticed that some sites providing an estimated reading time for articles. Some are as low as one minute while others are big posts. However, as I fount on my research, the technique of how to implement reading estimated time and some people have reported an increase in the number of time visitors to stay on their site.</p><p>If you run a <a href="https://wordpress.com/create-blog/">WordPress blog</a>, you are probably trying to find many certain <a href="https://wordpress.org/plugins/reading-time-wp/">plugins</a> you can install to accomplish something similar, but I like to do as much as possible myself, and throwing this together is not to difficult. in order to keep your visitors to read your posts without clicking away.</p><p>Essentially, this takes each entry, strips all the code tags and extraneous text, and gets a word count. Then it divides by 200, which is a pretty average reading speed and rounds that to the next highest number.</p><h3>Use this Code on your theme folder of function.php</h3><p>According to Medium, people read about 200 words per minute. Medium also adds 12 seconds for each inline image, but I didn’t get that fancy.<br>//estimated reading time<br>function reading_time() {<br>$content = get_post_field( &#39;post_content&#39;, $post-&gt;ID );<br>$word_count = str_word_count( strip_tags( $content ) );<br>$readingtime = ceil($word_count / 200);</p><p>if ($readingtime == 1) {<br>$timer = &quot; minute&quot;;<br>} else {<br>$timer = &quot; minutes&quot;;<br>}<br>$totalreadingtime = $readingtime . $timer;</p><p>return $totalreadingtime;<br>}</p><p>Then you need to call this function to display on your site, and you can put it anywhere, use something like this:</p><p>&lt;?php echo reading_time(); ?&gt;</p><p>This returns just a number, so you’ll have to add any context around it in your HTML to put it in context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*vxoRiDsP7AZdlPtYoKB63A.png" /></figure><p>We hope that you found this article to be helpful. If you liked it, please feel free to check out some of these articles as well!<br><a href="https://g.page/r/CQ3D21L7C9omEBM/review">Click here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2e8af7b1239" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Choose Cloud Server]]></title>
            <link>https://medium.com/@shaikh.nadeem/why-choose-cloud-server-5bbb9f10e47b?source=rss-6f7c24cbfb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bbb9f10e47b</guid>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[website-design]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[website]]></category>
            <dc:creator><![CDATA[Shaikh Nadeem]]></dc:creator>
            <pubDate>Sun, 19 May 2019 18:32:11 GMT</pubDate>
            <atom:updated>2019-05-19T18:32:11.326Z</atom:updated>
            <content:encoded><![CDATA[<p>Today all the website design and development, networking zone is constantly with the use and information about the cloud server. It seems every other business is utilizing cloud-based software, leaving those still using on-premise solutions wondering if they, too, should switch. Businesses are flocking to cloud solutions because there are many more benefits than there are with on-premise solutions. Here are some of the most often mentioned reasons cloud server is better than another server.</p><h3>What is Cloud Server</h3><p>A cloud server is the type of internet service available on virtual servers which take their computing-related resource from huge underlying networks of physical machines also known as a web server.‘The cloud’ can also refer to cloud computing, where several servers are linked together to share the load. Cloud computing basically refers to shared computer processing. Most people use it every day in apps for social media and banking, for instance.</p><p>With cloud hosting services you can store a huge amount of valuable data in a virtual environment that is completely secure because of the data encryption measures adopted by the cloud hosting providers.</p><h3>Why do we need a Cloud server</h3><p>Cloud Computing is a technology uses the internet and central remote servers to maintain data and applications. Cloud computing allows consumers and businesses to use applications without installation and access their personal files at any computer with internet access.</p><h3>Scalability</h3><p>Cloud servers have the benefit of scalability, meaning they can adapt in size according to the increase and decrease in workload. cloud servers can scale computing and storage resources to meet changing needs. The cloud servers have scalable RAM, CPU, storage and strong technical resources to boost your website performance. Another benefit to cloud solutions is that they usually add new features on a regular basis. As customers express an interest in being able to do more with their software, providers add these features on, making them available either automatically or with an optional account change.</p><h3>Flexibility</h3><p>Cloud-based services are ideal for businesses with growing or fluctuating bandwidth demands. If your needs increase it’s easy to scale up your cloud capacity, drawing on the service’s remote servers. Likewise, if you need to scale down again, the flexibility is baked into the service.flexibility to avoid server crashes during high traffic periods by scaling up your cloud solution.</p><h3>Reliability</h3><p>Data security is the issue of the moment, as the digital world becomes saturated with important information. Cloud providers consider reliability an important part of their business models. They make it their mission to ensure customers have access to the files and applications they need at all times. If an outage ever occurs, many cloud providers have built-in backups to take over, with customers never aware an issue has taken place. If such a backup doesn’t exist, a cloud provider still has access to experts who can ensure systems are up much more quickly than an SMB could with an on-premise server.</p><h3>Integration</h3><p>An organization’s cloud servers are networked to ensure uninterrupted communication and fast deployment. A “single pane” enables complete control.</p><h3>Mobility</h3><p>Cloud computing allows mobile access to corporate data via smartphones and devices,</p><h3>Performance</h3><p>Cloud hosting assures high availability and uptime because of the multiple servers in a redundant system. If a server fails, its files and functional responsibilities are instantly migrated to another server with no downtime. Memory capacity and CPU power also expand on demand to meet your needs or compensate for those of another customer without impacting other users in the network. It is ideal for sites that may experience wide fluctuations in traffic volume.</p><h3>Less Server Time</h3><p>Cloud Server is the system of interconnected servers, therefore, at any point of time one server is not able to take any request then automatically one of the multiple servers will get active and rescue your data</p><h3>More Security Efficiency</h3><p>Cloud security provides multiple levels of controls within the network infrastructure in order to provide continuity and protection for cloud-based assets like websites and web applications. Cloud Server offers complete security to keep you free from the tension of losing your valuable data. cloud computing security solution has security protocols in place to protect sensitive information and transactions.</p><h3>Low-Cost Effective.</h3><p>A cloud server is much cheaper as compared to a dedicated server. In the Cloud, you are working on a virtual system. Therefore, you need not initiate capital expenditure for the setup of hardware.</p><p>Cloud computing is known to be a cost-effective method to store the data on the cloud. Rather than having desktop software, businesses can store a confidential business information in the cloud. There’s no need to pay the licensing fees for multiple users. One can pay a one-time cost or pay-as-you-go for the maintenance of the data.</p><h3>Speed and performance</h3><p>If your site running from a physical server the only location your site’s files can be accessed is from that exact server location. With a cloud server, your website can be accessed from multiple locations, which can be closed from the actual physical location of your visitors — improving their site speed.</p><h3>Comparison with other servers</h3><p>Cloud gives access to enterprise-class technology, for everyone. It also allows smaller businesses to act faster than big, established competitors. Pay-as-you-go service and cloud business applications mean small outfits can run with the big boys and disrupt the market while remaining lean and nimble.</p><p><a href="https://www.webdevloper.in/">Learn More at Webdevloper</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bbb9f10e47b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>