<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: hamizulfaiz</title>
    <description>The latest articles on Forem by hamizulfaiz (@hamizulfaiz).</description>
    <link>https://forem.com/hamizulfaiz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F295457%2Fa3792708-a544-4bc4-95bc-934197b23c1c.jpg</url>
      <title>Forem: hamizulfaiz</title>
      <link>https://forem.com/hamizulfaiz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/hamizulfaiz"/>
    <language>en</language>
    <item>
      <title>Software should serve the Business, not the other way around.</title>
      <dc:creator>hamizulfaiz</dc:creator>
      <pubDate>Sun, 01 Mar 2026 01:00:00 +0000</pubDate>
      <link>https://forem.com/hamizulfaiz/software-should-serve-the-business-not-the-other-way-around-pea</link>
      <guid>https://forem.com/hamizulfaiz/software-should-serve-the-business-not-the-other-way-around-pea</guid>
      <description>&lt;p&gt;I’ve seen it happen too many times: &lt;br&gt;
A brilliant dev team spends 3 months building a &lt;code&gt;perfect&lt;/code&gt; scalable architecture for a problem the business hasn't even &lt;code&gt;validated&lt;/code&gt; yet.&lt;/p&gt;

&lt;p&gt;The result? A technical masterpiece that nobody uses.&lt;/p&gt;

&lt;p&gt;In the startup world, code is a liability until it’s solving a business problem. Here’s why your &lt;code&gt;software should follow your business&lt;/code&gt; - not the other way around.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code is a Tool, Not the Product
&lt;/h2&gt;

&lt;p&gt;Your customers don't care if you're using Clean Architecture or a messy monolith. They care if the button works and solves their pain. If the business pivots (which it will), your code needs to be flexible enough to follow - not so rigid that it blocks the move.&lt;/p&gt;

&lt;h2&gt;
  
  
  The "Over-Engineering" Trap
&lt;/h2&gt;

&lt;p&gt;We often build for &lt;code&gt;1 million users&lt;/code&gt; when we only have &lt;code&gt;10&lt;/code&gt;. That’s "Software leading the Business." Instead, build for the business reality of today. &lt;/p&gt;

&lt;p&gt;It’s better to have a successful business with "messy" code than a failed startup with "perfect" code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Communication &amp;gt; Syntax
&lt;/h2&gt;

&lt;p&gt;A Senior Developer’s job isn't just writing functions; it’s understanding the Business Model. If you don't know how your company makes money, you can't write effective software for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Stop asking 'How can we build this?' and start asking 'Should we build this?' Let the business goals drive the git commits.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Originally shared in a more casual, local context (Malay) on my blog: &lt;a href="https://hamizulfaiz.my/post/software-should-follow-business-bukan-bisnes-ikut-software" rel="noopener noreferrer"&gt;Read the original here&lt;/a&gt;. I'm curious — have you ever worked at a place where the tech dictated the business? Let's discuss below!&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Why I stopped overthinking the Livewire vs. Inertia debate (and how to pick one)</title>
      <dc:creator>hamizulfaiz</dc:creator>
      <pubDate>Fri, 27 Feb 2026 15:57:33 +0000</pubDate>
      <link>https://forem.com/hamizulfaiz/why-i-stopped-overthinking-the-livewire-vs-inertia-debate-and-how-to-pick-one-5h67</link>
      <guid>https://forem.com/hamizulfaiz/why-i-stopped-overthinking-the-livewire-vs-inertia-debate-and-how-to-pick-one-5h67</guid>
      <description>&lt;p&gt;The Laravel ecosystem is spoiled for choice. When building a modern web app, the first big decision is often: &lt;code&gt;Livewire&lt;/code&gt; or &lt;code&gt;Inertia&lt;/code&gt;? Both promise a Single Page Application (SPA) feel without the complexity of a decoupled API, but they take very different paths to get there.&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚡ Laravel Livewire: The PHP Purist’s Dream
&lt;/h2&gt;

&lt;p&gt;Livewire allows you to build interactive interfaces without leaving the comfort of Laravel and Blade.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Pros
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Zero-JS Backend Logic&lt;/strong&gt;: You can handle frontend state and validation directly in PHP. No need to build a separate REST or GraphQL API.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Tight Laravel Integration&lt;/strong&gt;: It feels like a native part of the framework. If you know &lt;code&gt;Laravel&lt;/code&gt;, you already know 90% of Livewire.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Full-Stack Components&lt;/strong&gt;: With features like &lt;code&gt;Livewire Volt&lt;/code&gt;, you can build single-file components that are extremely organized.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;SEO-Friendly by Default&lt;/strong&gt;: Since it renders on the server first, it's easier for search engines to crawl compared to heavy client-side SPAs.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Cons
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Server Round-trips&lt;/strong&gt;: Every action (like clicking a button) usually requires a request to the server. Even with "entangle" and "lazy loading," there’s a slight latency compared to pure JS.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Scaling Complexity&lt;/strong&gt;: For highly complex, "high-fidelity" UI (like a video editor or a complex drag-and-drop dashboard), Livewire can become harder to manage than a dedicated JS framework.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Inertia.js: The "Modern Monolith"
&lt;/h2&gt;

&lt;p&gt;Inertia acts as the "glue" between Laravel and frontend powerhouses like Vue.js or React.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Pros
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Full Frontend Power&lt;/strong&gt;: You get the entire ecosystem of Vue/React. Use any NPM package (like Framer Motion or Shadcn) seamlessly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;True SPA Experience&lt;/strong&gt;: Since the frontend is handled by JavaScript, page transitions are nearly instantaneous, providing a premium user experience.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Familiar Routing&lt;/strong&gt;: You still use web.php for routing and Controllers for data, so you don't have to build a decoupled API.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;State Management&lt;/strong&gt;: Easier to handle complex client-side states that don't need to be synced with the database every second.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Cons
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;High Learning Curve&lt;/strong&gt;: You need to be proficient in both Laravel (PHP) and a frontend framework (JS/TS).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Client-Side Overhead&lt;/strong&gt;: Your bundle size will naturally be larger because you're shipping a full JS framework to the browser.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Verdict
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Choose Livewire&lt;/strong&gt; if your priority is Speed of Development. It’s the king of productivity for internal tools, CRUD apps, and SEO-heavy sites.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choose Inertia&lt;/strong&gt; if your priority is User Experience (UX). If your app feels more like a "tool" (like Trello or Spotify) rather than a content site, the JS power of Inertia is worth the extra setup.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bonus: SEO for inertia
&lt;/h3&gt;

&lt;p&gt;To effectively implement SEO on inertia response. Put the meta title and description on the layout instead of inside the components so that when the first byte is loaded it contains all the seo meta tags and results in seo friendly result.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note: This article is also available in Bahasa Melayu on my personal blog: &lt;a href="https://hamizulfaiz.my/post/laravel-livewire-vs-inertia-mana-pilihan-terbaik" rel="noopener noreferrer"&gt;Read here&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>livewire</category>
      <category>inertiajs</category>
      <category>laravel</category>
    </item>
    <item>
      <title>I Coded My Own Stock Analysis Trading Tool</title>
      <dc:creator>hamizulfaiz</dc:creator>
      <pubDate>Sat, 17 Jul 2021 14:17:25 +0000</pubDate>
      <link>https://forem.com/hamizulfaiz/i-coded-my-own-stock-analysis-trading-tool-dd9</link>
      <guid>https://forem.com/hamizulfaiz/i-coded-my-own-stock-analysis-trading-tool-dd9</guid>
      <description>&lt;p&gt;In my journey to the finance world as a coder, I thought about helping myself trade stock with the use of technical analysis tool. &lt;/p&gt;

&lt;p&gt;Of course, there is TradingView, but i cant perform my own calculations, cant take the data to mix and merge with other data and few more things about data processing to help me with my  analysis.&lt;/p&gt;

&lt;p&gt;What I do before this is go to the broker after today session come to an end, and export all the data into excel, and then manually go trough all of it. which is a real pain.&lt;/p&gt;

&lt;p&gt;Then one day, my friend give me access to his stock historical data in API  (the best thing ever happen to me as a coder). And I begin my journey developing my own tool to analyze the stock using the Technical Analysis based on the historical data from the API.&lt;/p&gt;

&lt;p&gt;I start with the base of everything, store the data into the DB. Choosing what the database engine will be is such a brief, since im a SQL guy, I love structuring the data, so MariaDB is the choosen one. &lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing The Stack
&lt;/h2&gt;

&lt;p&gt;As usual, thinking about the tech stack is the most fundamental before I even started to develop. Taking consideration about the cron job, API usage, users visit and actions to be made in the tool later on, it needs to be light, minimal and as non heavy as possible in the backend. &lt;/p&gt;

&lt;h2&gt;
  
  
  Calculations and screener
&lt;/h2&gt;

&lt;p&gt;Since there are already ready made libraries to help me with technical analysis calculations, yep, I use that. cz I dont want to reinvent the wheel, whats imporant in the tool is to make the analysis with the available formula with mix and match of them and produce the results. and I finally can do the listing of the stocks that meet the criteria, calculations and pereference. yeah, it came alive~~ haha. &lt;/p&gt;

&lt;h2&gt;
  
  
  Test The Trade
&lt;/h2&gt;

&lt;p&gt;After the tool has done its thing, I test the trade. Based on the stock listed in the tool, I confidently trade the stock on my broker platform. Yeah it definitely help me lessen the risk of trading the stock. Many of the trade has been having better winning rate. &lt;/p&gt;

&lt;h2&gt;
  
  
  The Tool Main Feature
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F09jclebccj3w50zpn0y3.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F09jclebccj3w50zpn0y3.jpg" alt="HF Trade Tool Feature" width="800" height="775"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As a simple trader, I believe in uncluttered interface. The simpler the interface, the better. why? because we are aiming for great result, instead of great pain. haha.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;Making my own tool to analyze stock give me the experience and excitement thats nothing like other normal coding projects, wordpress or laravel, it definitely brings joy to me as it help me with trading. &lt;/p&gt;

</description>
      <category>fromscratch</category>
    </item>
    <item>
      <title>Diving into the investment world as a Programmer</title>
      <dc:creator>hamizulfaiz</dc:creator>
      <pubDate>Mon, 17 May 2021 17:22:54 +0000</pubDate>
      <link>https://forem.com/hamizulfaiz/diving-into-the-investment-world-as-a-programmer-3le5</link>
      <guid>https://forem.com/hamizulfaiz/diving-into-the-investment-world-as-a-programmer-3le5</guid>
      <description>&lt;p&gt;Im a graduate in Diploma of Computer Science from Universiti Teknologi Mara (UiTM) in Malacca, Malaysia. In 2010, I started my freelance web development journey after graduation and developing wordpress sites as well as app development from scratch (I was using CodeIgniter back then). Started my first coding job at Webqlo Sdn Bhd, a web development company. I had been doing lots of coding, and lots of projects within the 4 years of my time in there. After that I venture back into my own entrepreneurship. &lt;/p&gt;

&lt;h3&gt;
  
  
  Developing ECF Platform
&lt;/h3&gt;

&lt;p&gt;When my journey in entrepreneurship are taking a downturn and in dire need to stabilize my funds, I joined 1337 Ventures Sdn Bhd (a.k.a Leet Ventures) on July 2019. Leet Ventures is a venture capital firm, located in Kuala Lumpur. The company received &lt;a href="https://www.sc.com.my/bm/pembangunan/digital/list-of-registered-recognized-market-operators" rel="noopener noreferrer"&gt;Equity Crowdfunding Licence&lt;/a&gt; by &lt;a href="https://www.sc.com.my/" rel="noopener noreferrer"&gt;Securities Commission Malaysia&lt;/a&gt; around that time. My main role in the company is to develop the ECF platform which is now called &lt;a href="https://leet.capital" rel="noopener noreferrer"&gt;Leet Capital&lt;/a&gt;. &lt;/p&gt;

&lt;h3&gt;
  
  
  Starting my Journey to Investment World
&lt;/h3&gt;

&lt;p&gt;In order for me to better develop the system for the platform, (&lt;em&gt;aside from the codes of course&lt;/em&gt;). I definitely need to know about &lt;strong&gt;Investing&lt;/strong&gt; which at that time im just a beginner, I dont even have a CDS account if I want to buy some stocks. Yeah, beats me. I didnt even know which stock should I buy and how to even look at the stock charting.&lt;/p&gt;

&lt;p&gt;Investment has been an interesting topic for me ever since I join the company. From what I know, investment are all about putting your money somewhere and let it work for you, and you need a LOT of money to invest in order to make more money, that is my initial basic understanding for investment. Apparently &lt;strong&gt;Leet Ventures&lt;/strong&gt; has been organizing many type of events that helped me learn on the sides. I now know that you dont require lots of money to invest, in stocks, you can get started to invest real cheap. some stock price can cost as low as RM0.10 per share. (&lt;em&gt;it comes with a risk though&lt;/em&gt;)&lt;/p&gt;

&lt;p&gt;One of the notable event that upgrade my understanding of investment is the &lt;strong&gt;Accelerator Bootcamp&lt;/strong&gt;. People can participate in the bootcamp to learn about how to pitch their business to the investor. Starting from the idea, making a biz plan with lean canvas, what to take into consideration when doing pitch to investors, and finally receive investment funds. I learned about pre-seed, series A, Series B, equity, etc2. phew, that was a world I never come across into, eventhough I am entrepreneur myself (&lt;em&gt;well, solopreneur&lt;/em&gt;)&lt;/p&gt;

&lt;h3&gt;
  
  
  Challenge to develop ECF Platform
&lt;/h3&gt;

&lt;p&gt;Well, the platform development was started from scratch. Begin with the POLC method (&lt;em&gt;my way of managing project&lt;/em&gt;), I do the stack selection, which is LAMP. Obviously choosing &lt;strong&gt;Laravel&lt;/strong&gt; as the base because of the robust out of the box libraries and well documented framework to kickstart the project. Yep, you guess it right (&lt;em&gt;if you are guessing&lt;/em&gt;). It wasnt just pure PHP, its a mix of &lt;code&gt;Laravel&lt;/code&gt; + &lt;code&gt;vanillaJS&lt;/code&gt; + &lt;code&gt;VueJS&lt;/code&gt; + &lt;code&gt;ReactJS&lt;/code&gt; + &lt;code&gt;webpack&lt;/code&gt; and much more. With multiple component, multiple features, and multiple many more &lt;code&gt;FrontEnd&lt;/code&gt; and &lt;code&gt;BackEnd&lt;/code&gt; stuff cz a lot has happen since version 1.  &lt;/p&gt;

&lt;p&gt;Since this is an investment platform, MySQL wasnt the best when it comes to performance, so MariaDB is the choosen one. &lt;/p&gt;

&lt;p&gt;The most challenging part wasnt the choosing of stack, but the whole ecosystem process. Trust me, investment system is simple at first, it gets trickier as the progress unfold.&lt;/p&gt;

&lt;p&gt;Another notable investment knowledge I learned when developing this ECF system is that, there is generally 3 types of investor.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Retail Investor&lt;/strong&gt;&lt;br&gt;
A person, (anyone) who has extra money that can invest up to RM5,000.00 belong to this type.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Angel Investor&lt;/strong&gt;&lt;br&gt;
A person who is a High Net Worth Individual, those who have wealth up to RM 3 million.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sophisticated Investor&lt;/strong&gt;&lt;br&gt;
An entity who has annual income more than RM400,000. VC is one of the example for this type.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  My Final Thought
&lt;/h3&gt;

&lt;p&gt;Becoming an investor was never reachable until recently. I started to explore stocks on Bursa Malaysia, learned about Techical Analysis, Fundamental Analysis, also about Startups, due diligence when deciding to invest in a company, and many more finance stuff. Which has bring and impact to the way I look at &lt;strong&gt;funds&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Investment wasnt just about stock, there is ECF, P2P, Robo Advisor, Fix Deposit, Crypto, and more!&lt;/p&gt;

&lt;p&gt;Being a pioneer developer for &lt;a href="https://leet.capital" rel="noopener noreferrer"&gt;&lt;strong&gt;Leet Capital&lt;/strong&gt;&lt;/a&gt; ECF platform has brought change to me in a great way. A change that transforms me from just an ordinary coder to the &lt;strong&gt;coder who invest&lt;/strong&gt;. It sure is one of my turning point on achieving better financial desicion.&lt;/p&gt;

</description>
      <category>career</category>
      <category>computerscience</category>
    </item>
  </channel>
</rss>
