<?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 Michael Asefon P. on Medium]]></title>
        <description><![CDATA[Stories by Michael Asefon P. on Medium]]></description>
        <link>https://medium.com/@willypelz?source=rss-44ecb0ae9f00------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0zRvCQem2D9qrrBQlTID7Q.png</url>
            <title>Stories by Michael Asefon P. on Medium</title>
            <link>https://medium.com/@willypelz?source=rss-44ecb0ae9f00------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 19:01:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@willypelz/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[I Faced Queue Monitoring Issues: So I Built My Own Laravel Library]]></title>
            <link>https://medium.com/@willypelz/i-faced-queue-monitoring-issues-so-i-built-my-own-laravel-library-282d32a959a5?source=rss-44ecb0ae9f00------2</link>
            <guid isPermaLink="false">https://medium.com/p/282d32a959a5</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[control]]></category>
            <dc:creator><![CDATA[Michael Asefon P.]]></dc:creator>
            <pubDate>Tue, 24 Feb 2026 16:14:00 GMT</pubDate>
            <atom:updated>2026-02-24T16:14:00.785Z</atom:updated>
            <content:encoded><![CDATA[<p>While working on high-volume Laravel applications, I encountered a recurring issue: <strong>limited visibility and control over queued jobs</strong>.</p><p>Queues are powerful, but when things start to scale, problems quickly appear:</p><ul><li>Jobs silently fail</li><li>Workers time out</li><li>Backlogs grow unnoticed</li><li>Debugging becomes painful</li><li>Performance tuning is guesswork</li></ul><p>Existing tools helped — but they didn’t fully match my needs for <strong>lightweight control, database compatibility, and flexibility</strong>.</p><p>So I decided to build my own solution.</p><p>👉 GitHub: <a href="https://github.com/willypelz/queue-monitor">https://github.com/willypelz/queue-monitor</a><br> 👉 Packagist: <a href="https://packagist.org/packages/willypelz/queue-monitor">https://packagist.org/packages/willypelz/queue-monitor</a></p><h3>⚠️ The Real Problem</h3><p>In production systems handling thousands of background jobs, I noticed:</p><ul><li>Difficult job tracking</li><li>Limited insight into failures</li><li>Poor visibility when using the database queue driver</li><li>Need for more granular performance monitoring</li><li>Desire for tighter control over retries and failures</li></ul><p>For teams running <strong>mission-critical async workflows</strong>, this lack of visibility becomes a real operational risk.</p><h3>🧠 Why Not Just Use Existing Tools?</h3><p>Tools like Horizon are great — but they:</p><ul><li>Require Redis</li><li>Can be heavy for some environments</li><li>Don’t always fit database-queue setups</li><li>May be overkill for some projects</li></ul><p>I wanted something that was:</p><p>✅ Lightweight<br> ✅ Database-friendly<br> ✅ Easy to install<br> ✅ Production-ready<br> ✅ Developer-controlled</p><h3>🔥 Introducing Queue Monitor</h3><p><strong>Queue Monitor</strong> is a Laravel package designed to give you deeper insight and control over your queued jobs.</p><h3>✨ Key Features</h3><ul><li>Track the queued job lifecycle</li><li>Monitor job performance</li><li>Inspect failures easily</li><li>Works with Laravel 10 &amp; 11</li><li>Simple installation</li><li>Database-driver friendly</li><li>Built for scalability</li></ul><h3>⚡ Installation</h3><p>Install via Composer:</p><pre>composer require willypelz/queue-monitor</pre><p>Publish assets:</p><pre>php artisan vendor:publish --provider=&quot;Willypelz\QueueMonitor\QueueMonitorServiceProvider&quot;</pre><p>Run migrations:</p><pre>php artisan migrate</pre><p>That’s it — you’re ready to monitor your queues.</p><h3>🧪 Built From Real Production Pain</h3><p>This package wasn’t built as a theoretical exercise.</p><p>It came from:</p><ul><li>Running large-scale queue systems</li><li>Debugging timeout failures</li><li>Managing heavy background workloads</li><li>Needing better observability</li></ul><p>The focus is <strong>practical performance and control</strong>, not just dashboards.</p><h3>🎯 Who Should Use This?</h3><p>Queue Monitor is especially useful if you:</p><ul><li>Use the <strong>database queue driver</strong></li><li>Want lightweight monitoring</li><li>Need better job visibility</li><li>Run high-volume async workloads</li><li>Want more operational confidence</li></ul><h3>🚀 What’s Coming Next</h3><p>Planned improvements include:</p><ul><li>UI dashboard enhancements</li><li>Advanced metrics</li><li>Alerting integrations</li><li>Multi-queue analytics</li><li>Performance insights</li></ul><p>Community feedback will heavily shape the roadmap.</p><h3>🤝 Contributing</h3><p>Contributions, issues, and feedback are welcome:</p><p>👉 <a href="https://github.com/willypelz/queue-monitor">https://github.com/willypelz/queue-monitor</a></p><p>If this package helps you, please ⭐ the repo — it really helps visibility.</p><h3>💬 Final Thoughts</h3><p>Laravel queues are incredibly powerful — but <strong>observability and control become critical at scale</strong>.</p><p>Building this library gave me the flexibility and performance insight I needed in production systems. If you’re facing similar challenges, Queue Monitor might help you too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=282d32a959a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating Summernote WYSIWYG Editor in Laravel Applications]]></title>
            <link>https://medium.com/softwaredef/integrating-summernote-wysiwyg-editor-in-laravel-applications-1379150645f3?source=rss-44ecb0ae9f00------2</link>
            <guid isPermaLink="false">https://medium.com/p/1379150645f3</guid>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[wysiwyg]]></category>
            <dc:creator><![CDATA[Michael Asefon P.]]></dc:creator>
            <pubDate>Tue, 28 Jan 2025 19:59:07 GMT</pubDate>
            <atom:updated>2025-01-28T19:59:07.855Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Summernote is a popular open-source WYSIWYG (What You See Is What You Get) editor that provides rich text editing capabilities for web applications. Integrating with Laravel enables users to create formatted content effortlessly while maintaining backend control. This article guides you through implementing Summernote in a Laravel application, covering installation, configuration, image handling, and security considerations.</p><h3>Prerequisites</h3><ul><li>Laravel 8+ installed</li><li>Configured database connection</li><li>Basic knowledge of Laravel Blade templates</li><li>Node.js and NPM/Yarn installed</li></ul><h3>Step 1: Install Summernote</h3><h3>1.1 Install via NPM/Yarn</h3><pre>npm install summernote<br># or<br>yarn add summernote</pre><h3>1.2 Include Assets</h3><p>Add Summernote’s CSS and JS to your Laravel Mix configuration:</p><p><strong>resources/js/app.js</strong></p><pre>import &#39;summernote/dist/summernote-bs4.css&#39;;<br>import &#39;summernote&#39;;</pre><p><strong>resources/sass/app.scss</strong></p><pre>@import &#39;~summernote/dist/summernote-bs4.css&#39;;</pre><p>Compile assets:</p><pre>npm run dev</pre><h3>Step 2: Create Editor Interface</h3><h3>2.1 Blade Template Setup</h3><p>Create a form in your Blade view:</p><p><strong>resources/views/posts/create.blade.php</strong></p><pre>@extends(&#39;layouts.app&#39;)<br><br>@section(&#39;content&#39;)<br>&lt;form method=&quot;POST&quot; action=&quot;{{ route(&#39;posts.store&#39;) }}&quot;&gt;<br>    @csrf<br>    &lt;div class=&quot;form-group&quot;&gt;<br>        &lt;label&gt;Post Content&lt;/label&gt;<br>        &lt;textarea id=&quot;summernote&quot; name=&quot;content&quot;&gt;&lt;/textarea&gt;<br>    &lt;/div&gt;<br>    &lt;button type=&quot;submit&quot; class=&quot;btn btn-primary&quot;&gt;Submit&lt;/button&gt;<br>&lt;/form&gt;<br><br>@section(&#39;scripts&#39;)<br>&lt;script&gt;<br>    $(document).ready(function() {<br>        $(&#39;#summernote&#39;).summernote({<br>            height: 300,<br>            toolbar: [<br>                [&#39;style&#39;, [&#39;style&#39;]],<br>                [&#39;font&#39;, [&#39;bold&#39;, &#39;underline&#39;, &#39;clear&#39;]],<br>                [&#39;para&#39;, [&#39;ul&#39;, &#39;ol&#39;, &#39;paragraph&#39;]],<br>                [&#39;insert&#39;, [&#39;link&#39;, &#39;picture&#39;, &#39;video&#39;]],<br>                [&#39;view&#39;, [&#39;fullscreen&#39;, &#39;codeview&#39;, &#39;help&#39;]]<br>            ]<br>        });<br>    });<br>&lt;/script&gt;<br>@endsection<br>@endsection</pre><h3>Step 3: Handle Form Submission</h3><h3>3.1 Create Controller</h3><pre>php artisan make:controller PostController</pre><p><strong>app/Http/Controllers/PostController.php</strong></p><pre>public function store(Request $request)<br>{<br>    $validated = $request-&gt;validate([<br>        &#39;content&#39; =&gt; &#39;required|string&#39;<br>    ]);<br><br>    $post = Post::create([<br>        &#39;content&#39; =&gt; $request-&gt;content<br>    ]);<br><br>    return redirect()-&gt;route(&#39;posts.show&#39;, $post);<br>}</pre><h3>3.2 Model Setup</h3><p>Create a Post model and migration:</p><pre>php artisan make:model Post -m</pre><p><strong>database/migrations/xxxx_create_posts_table.php</strong></p><pre>Schema::create(&#39;posts&#39;, function (Blueprint $table) {<br>    $table-&gt;id();<br>    $table-&gt;longText(&#39;content&#39;);<br>    $table-&gt;timestamps();<br>});</pre><h3>Step 4: Display Formatted Content</h3><p>In your show view:</p><pre>&lt;div class=&quot;content&quot;&gt;<br>    {!! $post-&gt;content !!}<br>&lt;/div&gt;</pre><p><strong>Security Note:</strong> Always sanitize HTML output. Consider using Laravel’s built-in Purifier package:</p><pre>composer require mews/purifier</pre><h3>Step 5: Image Upload Handling</h3><h3>5.1 Configure Summernote Image Upload</h3><p>Update the Summernote initialization:</p><pre>$(&#39;#summernote&#39;).summernote({<br>    // ... previous config<br>    callbacks: {<br>        onImageUpload: function(files) {<br>            uploadImage(files[0]);<br>        }<br>    }<br>});<br><br>function uploadImage(file) {<br>    let formData = new FormData();<br>    formData.append(&#39;image&#39;, file);<br>    <br>    fetch(&#39;/upload-image&#39;, {<br>        method: &#39;POST&#39;,<br>        headers: {<br>            &#39;X-CSRF-TOKEN&#39;: document.querySelector(&#39;meta[name=&quot;csrf-token&quot;]&#39;).content<br>        },<br>        body: formData<br>    })<br>    .then(response =&gt; response.json())<br>    .then(data =&gt; {<br>        $(&#39;#summernote&#39;).summernote(&#39;insertImage&#39;, data.url);<br>    });<br>}</pre><h3>5.2 Create Image Upload Endpoint</h3><p><strong>routes/web.php</strong></p><pre>Route::post(&#39;/upload-image&#39;, [PostController::class, &#39;uploadImage&#39;])-&gt;name(&#39;image.upload&#39;);</pre><p><strong>app/Http/Controllers/PostController.php</strong></p><pre>public function uploadImage(Request $request)<br>{<br>    $request-&gt;validate([<br>        &#39;image&#39; =&gt; &#39;required|image|mimes:jpeg,png,jpg,gif|max:2048&#39;<br>    ]);<br><br>    $path = $request-&gt;file(&#39;image&#39;)-&gt;store(&#39;public/images&#39;);<br>    $url = Storage::url(https://medium.com/$path);<br><br>    return response()-&gt;json([&#39;url&#39; =&gt; $url]);<br>}</pre><h3>Security Considerations</h3><ol><li><strong>Input Validation</strong></li></ol><pre>$request-&gt;validate([<br>    &#39;content&#39; =&gt; &#39;required|string&#39;<br>]);</pre><pre>use Mews\Purifier\Facades\Purifier;<br><br>$cleanContent = Purifier::clean($request-&gt;content);</pre><p><strong>2. HTML Purification</strong></p><pre>use Mews\Purifier\Facades\Purifier;<br><br>$cleanContent = Purifier::clean($request-&gt;content);</pre><p><strong>3. File Upload Security</strong></p><ul><li>Restrict file types</li><li>Set size limits</li><li>Store files outside the public directory</li><li>Use random filenames</li></ul><h3>Customization Options</h3><ol><li><strong>Toolbar Configuration</strong></li></ol><pre>toolbar: [<br>    [&#39;font&#39;, [&#39;bold&#39;, &#39;italic&#39;, &#39;underline&#39;]],<br>    [&#39;para&#39;, [&#39;ul&#39;, &#39;ol&#39;]],<br>    [&#39;insert&#39;, [&#39;link&#39;, &#39;picture&#39;]],<br>    [&#39;view&#39;, [&#39;fullscreen&#39;]]<br>]</pre><p>2. <strong>Custom Plugins</strong></p><pre>$.summernote.addPlugin({<br>    &#39;hello&#39;: function(context) {<br>        var ui = $.summernote.ui;<br>        var button = ui.button({<br>            contents: &#39;Hello&#39;,<br>            click: function() {<br>                context.invoke(&#39;editor.insertText&#39;, &#39;Hello World!&#39;);<br>            }<br>        });<br>        return button.render();<br>    }<br>});</pre><h3>Conclusion</h3><p>Integrating Summernote with Laravel provides a powerful content creation interface while maintaining control over backend processing. By following these steps, you’ve implemented:</p><ul><li>Rich text editing capabilities</li><li>Secure image upload handling</li><li>Content sanitization</li><li>Customizable editor interface</li></ul><p>Remember always to validate and sanitize user-generated content, especially when dealing with HTML input. The combination of Summernote’s frontend flexibility and Laravel’s robust backend features creates an efficient solution for content management in modern web applications.</p><h3>Further Reading</h3><ul><li><a href="https://summernote.org/">Summernote Official Documentation</a></li><li><a href="https://laravel.com/docs/filesystem">Laravel File Storage</a></li><li><a href="https://github.com/mewebstudio/Purifier">HTML Purifier Configuration</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1379150645f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/softwaredef/integrating-summernote-wysiwyg-editor-in-laravel-applications-1379150645f3">Integrating Summernote WYSIWYG Editor in Laravel Applications</a> was originally published in <a href="https://medium.com/softwaredef">softwaredef</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[T101 — Building and deploying to azure with Kubernetes.]]></title>
            <link>https://medium.com/softwaredef/t101-building-and-deploying-to-azure-with-kubernetes-609168dfd4b0?source=rss-44ecb0ae9f00------2</link>
            <guid isPermaLink="false">https://medium.com/p/609168dfd4b0</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Michael Asefon P.]]></dc:creator>
            <pubDate>Fri, 22 May 2020 22:14:54 GMT</pubDate>
            <atom:updated>2020-05-23T01:17:44.399Z</atom:updated>
            <content:encoded><![CDATA[<h3>T101 — Building and deploying to azure with Kubernetes.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*z2Teave_xR3PHssPu-nNCQ.png" /></figure><p>In this section, I will be explaining what docker means and why it is necessary you use it for your application.</p><h3>History before docker</h3><p>Years back before docker, companies(developers) use servers that they have to install an operating system that has complete control of the hardware, which is required to run the application or use a virtual machine in place of an operating system. Using this approach comes with a lot of disadvantages like memory complexity and difficulty in maintenance.</p><p>Using a virtual machine later became a better alternative to the first approach. Virtual machines platform are also called a hypervisor. Hypervisors give access to multiple virtual machines to share the same physical resources in the system. This was was better than such that individual virtual machines that were in the system will try to behave perfectly like the whole system as one.</p><p>This makes individual virtual machines to be managed like moving it, copying it from one place to another, cloning it, and finally scaling it to meet up with the performance for your application. Virtual machines have their deficiency with many companies have encountered in years past.</p><h4>Disadvantages of using virtual machines</h4><p>The first thing noted is that they are not that fast. virtual machines are a bit lagging when it comes to meeting up with certain enterprise application speed,</p><p>The second thing noted is the complexity of managing several virtual machines and it is system dependent. Considering all this deficiency made docker the goal for most enterprise applications.</p><h3>Docker</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*WqIok41kHYtD9XNxCgtrhg.jpeg" /></figure><p>Docker is a set of the <a href="https://en.wikipedia.org/wiki/Platform_as_a_service">platform as a service</a> (PaaS) which was authored by Solomon Hykes, developed with Go language you can check <a href="http://github.com/docker/docker-ce">here</a>. They own <a href="https://en.wikipedia.org/wiki/Docker,_Inc.">Docker, Inc.</a></p><blockquote><a href="https://opensource.com/resources/what-docker">Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and deploy it as one package. By doing so, thanks to the container, the developer can rest assured that the application will run on any other Linux machine regardless of any customized settings that machine might have that could differ from the machine used for writing and testing the code…</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*13dz0rkhQwKdmgsAh7DRXw.jpeg" /></figure><p>Docker Containers are transforming the DevOps (developer operations) landscape as an important tool in DevOps arsenal. The use cases for Docker Containers within the realm of DevOps are plenty. Running apps over Docker Containers and then deploying anywhere (Cloud or on-premise or any flavor of Linux) is a reality now.</p><h4>Portability &amp; compatibility</h4><blockquote>Portablity is one of the great features of docker a containerized application can be deploy to any platform and it will work perfectly.</blockquote><h4>Performance</h4><blockquote>Performance containers do not setup an operating system in it before it works this made it have a huge edge over virtual machine and this really helps out in terms of memory management.</blockquote><h4>Agility</h4><blockquote>when it comes to agility docker makes applications more agile and responsive. Making countinous integration easy, straight forward and very fast.</blockquote><h4>Isolation</h4><blockquote>Isolation: docker run different container independently of the dependency. this makes applications to use only the resources that is being assigned to them. which will really save when it conse to performace degradation. dont worry too muchabout building container we will surely get to the stage where you will build your own container in this article.</blockquote><h4>Scalability</h4><blockquote>Scalability: docker provide easy method of scaling your application this can be done with docker swarm or kubernetes. docker swarm is not advisable due to its defects. Kubernetes is widely recomended now..</blockquote><h4>Simplicity and Faster Configurations</h4><blockquote>Simplicity and faster configuration: using docker makes everything simple down to the configuration. which really saves time and lead to rapid development</blockquote><h4>Security</h4><blockquote>Security: The last of these benefits of using docker is security. From a security point of view, Docker ensures that applications that are running on containers are completely segregated and isolated from each other, granting you complete control over traffic flow and management. No Docker container can look into processes running inside another container. From an architectural point of view, each container gets its own set of resources ranging from processing to network stacks.</blockquote><p>Next, we will talk about setting up docker :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=609168dfd4b0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/softwaredef/t101-building-and-deploying-to-azure-with-kubernetes-609168dfd4b0">T101 — Building and deploying to azure with Kubernetes.</a> was originally published in <a href="https://medium.com/softwaredef">softwaredef</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>