<?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 Raahavajith on Medium]]></title>
        <description><![CDATA[Stories by Raahavajith on Medium]]></description>
        <link>https://medium.com/@raahavajith2001?source=rss-12f3d3d61998------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ceLD3LvovZ2QAccy</url>
            <title>Stories by Raahavajith on Medium</title>
            <link>https://medium.com/@raahavajith2001?source=rss-12f3d3d61998------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:54:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raahavajith2001/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[2022 Flutter Widgets]]></title>
            <link>https://medium.com/yavar/2022-flutter-widgets-b232de853462?source=rss-12f3d3d61998------2</link>
            <guid isPermaLink="false">https://medium.com/p/b232de853462</guid>
            <category><![CDATA[widget]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Raahavajith]]></dc:creator>
            <pubDate>Mon, 31 Oct 2022 18:28:28 GMT</pubDate>
            <atom:updated>2022-11-01T12:58:37.448Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*10RECXGTH5NyaeBg5yD1pw.png" /></figure><p>Hello Guys, Today we gonna see about some interesting widgets of 2022,</p><p><strong>Fitted Box</strong></p><p><em>FittedBox </em>is a very useful widget that scales and positions its child within itself according to fit and alignment. Consider an app, in which, you have to take input from the user and in a certain scenario, the user enters a large input that overflows and scatters other widgets. As many of the widgets are dynamic, which means they can grow and shrink in size, according to their child widget’s size. So, in this case, the user interface wouldn’t be adaptive. In order to overcome this problem, we can use the FittedBox widget.</p><pre><strong>Syntax:</strong><br><br>FittedBox({<br>    Key key,<br>    BoxFit fit: BoxFit.contain,<br>    AlignmentGeometry alignment: Alignment.center,<br>    Widget child<br>     }<br>)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*grsls4MInMse3NF_iBO0aQ.png" /></figure><p><strong>Choice Chip</strong></p><p>Chips are nice widgets in flutter which can used for many purposes. It can also used for options buttons. Choice chips allow single selection. Following code can be used for choice chip.</p><pre>ChoiceChip(<br> selected: _selected,<br> label: Text(&#39;Woolha&#39;),<br> onSelected: (bool selected) {<br> setState(() {<br>  _selected = !_selected;});<br> }<br>),</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s0BUhJs3xyoUE2gHsFnFtw.png" /></figure><p><strong>Range Slider</strong></p><p>A <strong>Range Slider </strong>is very similar to a Slider widget but instead of selecting a single value, we can select a continuous range of value from a given range.</p><pre>RangeSlider(</pre><pre>values: RangeValues(start, end),</pre><pre>onChanged: (value) {},</pre><pre>)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BYLRwgIGytd5gL6btSSJNw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b232de853462" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yavar/2022-flutter-widgets-b232de853462">2022 Flutter Widgets</a> was originally published in <a href="https://medium.com/yavar">YavarTechWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How does dart VM work?]]></title>
            <link>https://medium.com/yavar/how-does-dart-vm-work-65039356e708?source=rss-12f3d3d61998------2</link>
            <guid isPermaLink="false">https://medium.com/p/65039356e708</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[dartlang]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Raahavajith]]></dc:creator>
            <pubDate>Wed, 31 Aug 2022 18:17:40 GMT</pubDate>
            <atom:updated>2022-08-31T18:22:56.532Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCajckOeBhRaLzi0RoFqig.png" /></figure><p>Hello Guys, today we are going to see how the virtual machine works in the amazing multi-platform and client-optimized language DART.</p><p>Come on let’s go we gonna see,</p><p><strong>Dart Code Run</strong></p><p>Dart Compiler is a tool that converts the source code we wrote in dart language to other intermediate languages or machine code that can run on a specific platform in a dart virtual machine. Like in the below figure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8HXzNzsjOVgiuOD9g4SqLA.png" /></figure><p>Dart Uses different compilers for different specific jobs. For example, the CPU architecture listed below is usually found on desktops and phones. Dart uses JIT(Just in Time Compiler) and AOT(Ahead Of Time Compiler) for native. On the web obviously, it uses a javascript compiler since it needs to translate the code into javascript language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P2EoG-CNF6wgvV4hGcoIBA.png" /></figure><p><strong>Now we gonna see the two stages of the development process,</strong></p><ul><li>Development Phase and</li><li>Production Phase.</li></ul><p><strong>Development Phase - Just Intime Compiler (JIT)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U2hwRvb3wcgfRY64v5lblQ.png" /></figure><ul><li>JIT just complies just the amount of code it needs.</li><li>JIT also comes with incremental recompilation so that it only recompiles the modified part when needed.</li><li>JIT compiler is the main star that enables the hot reload in dart during development.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wsi12OwlpugjEHpwULcTnQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wsi12OwlpugjEHpwULcTnQ.png" /></figure><p><strong>Production Phase (AOT - Ahead Of Time)</strong></p><ul><li>The ahead-of-time compiler compiles the entire source code into the machine code supported natively by the platform. It does before the platform runs the program.</li><li>When you decided to promote your code from development state to production state you need to use this compiler to do its specialized jobs.</li><li>To benefit from the best and most optimized version of your code has drawbacks through compiling the same code from scratch over and over and it&#39;s not the best solution for developing an app into the development stage.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lEi2hcmTTjI2oITkr2yeOw.png" /></figure><p><strong>Dart VM</strong></p><p>Dart VM provides an execution environment for the dart programming language.</p><p>The code within the VM is running within the same isolate and it is also called an isolated dart universe with its own memory known as heap its own thread of control called the mutator thread and its own helper thread.</p><p>The heap is a garbage collector that manages the memory storage for all the objects allocated by the code running. This isolates the garbage collector&#39;s try to reuse the memory which is allocated by the program but no longer referenced.</p><p>Each isolate has a single mutator thread that executes the dart code but benefits from multiple helper threads which handle VM’s internal tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zlsHxy0Uz3tSksbpMspN7g.png" /></figure><p>Components of Dart:</p><ul><li>The Runtime System</li><li>Development experience components debugging and hot reload</li><li>JIT and AOT compilation pipelines</li></ul><p>Dart VM can execute dart apps in 2 ways from source by using JIT and AOT compiler and from snapshots JIT, AOT, or kernel snapshots.</p><p>The source code had to be directed to the dart VM in order to be run but the dart VM doesn’t have the ability to run the raw dart code.</p><p>It expects some kernel binary also called .dill files. Which contains serialized abstract syntax tree known as kernel AST. The dart kernel is a small high-level intermediary language derived from dart therefore the kernel AST is actually based on this intermediary language.</p><p>The process of translating the dart source code to dart kernel AST is handled by a dart package called Common Front End or CFE.</p><p><strong>For example kernel AST tree which is translated from dart source code,</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9xm9MtzlyW3YYPQv_QOCzw.png" /></figure><p>The kernel AST is the file that’s being center-right to the VM in the next step the kernel binary is loaded into the dart VM. It is being parsed to create objects representing various program entities like classes and libraries however this is done lazily which means first and foremost it parses basic information about these entities each entity keeps a pointer back to the kernel binary so that later on it can be accessed if needed hence the name of JIT- Just In Time which is similar to just when it needed the information about the classes is fully deserialized only when the runtime needs it to keep in mind that all those entities lie inside the VM heap which is the VM allocated memory this stage the rest of the entities like fields functions procedures are read from the kernel binary however only their signatures are deserialized at this stage currently there’s enough information loaded from the kernel binary or the runtime to start invoking methods, for example, this is when the run time may start to invoke the main function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IqguxNge1IyBY6Zk71VuAg.png" /></figure><p>From this step first time, our function is compiled it happens sub-optimally which means the compiler goes and retrieves a function&#39;s body from the kernel binary and converts it into an intermediate, and then later on this intermediate language is lowered directly without any optimization passes right into pure machine code the main goal of this approach is to produce executable code quickly, however, the next time this function is called it will use optimized code that means instead of directly lowering that intermediate language into machine code the optimized compiler based on the information gathered from the sub-optimal run proceeds to translate the unoptimized intermediate language through a sequence of classical dart specific optimizations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mIEgZWZcqKE8S_UlIRvWOg.png" /></figure><p>For example inlining range analysis type propagation and so on and so forth finally the optimized intermediate language is again lowered into the machine code and run by the VM and that is it this is what actually happens when you run your dart program by typing in dart on command inside the dart CLI this git approach is used inside the development phase.</p><p>We have previously talked about since during this phase a fast developer cycle is critical for iteration therefore since the JIT compiler comes with incremental recompilation enabling hot reload multiple optimization techniques and rich debugging support. It’s the perfect choice for this job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCajckOeBhRaLzi0RoFqig.png" /></figure><p>Let’s move on to what happens when we run the code from a source this time by using AOT compiler.</p><p>AOT compiler was originally introduced platforms which makes JIT compilation impossible. So, it was mainly an alternative to JIT.</p><p><strong>Comparison between JIT and AOT</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BFPOPyWC77Xn2TT1Dwxfgg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65039356e708" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yavar/how-does-dart-vm-work-65039356e708">How does dart VM work?</a> was originally published in <a href="https://medium.com/yavar">YavarTechWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install a wordpress and create a website in localhost?]]></title>
            <link>https://medium.com/yavar/how-to-install-a-wordpress-and-create-a-website-in-localhost-e25d9a2b0f47?source=rss-12f3d3d61998------2</link>
            <guid isPermaLink="false">https://medium.com/p/e25d9a2b0f47</guid>
            <category><![CDATA[wordpress-web-development]]></category>
            <category><![CDATA[wordpress-development]]></category>
            <category><![CDATA[easy-website-builder]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[wordpress]]></category>
            <dc:creator><![CDATA[Raahavajith]]></dc:creator>
            <pubDate>Fri, 29 Jul 2022 09:37:31 GMT</pubDate>
            <atom:updated>2022-07-29T10:24:00.081Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*58CdiRObS2Dcp90OnTG8iQ.jpeg" /></figure><h4>Hi guys, we are going to see how to install Wordpress and the requirements we should have to work with Wordpress..,</h4><ul><li><strong>Xampp </strong>apache server — To run the website on the local web server, download the application from the below link <a href="https://www.apachefriends.org/download.html">https://www.apachefriends.org/download.html</a></li><li>Code editor — To edit code in the Wordpress files , I prefer <strong>vscode</strong> for the good experience.</li></ul><p>We can start now,</p><p>First you have to download Wordpress latest version from the wordpress official website <a href="https://wordpress.org/download/">https://wordpress.org/download/</a> . You can see it in downloads as a zip file and extract the file and open the folder, rename the folder to project name you want and move the folder to this path <strong>C:\xampp\htdocs. </strong>like in the below image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*_so-yC1uZoZQOItSwZksjQ.png" /></figure><p>After that we have start the Apache and MySQL server in xampp and open this link in the browser <a href="http://localhost/phpmyadmin/">http://localhost/phpmyadmin/</a> to open the database. And click new and give the database name like in the below image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QbGluGyzKdt22Y5sM8v_Dw.png" /></figure><p>Open the localhost <a href="http://localhost/hotel_project">http://localhost/hotel_project</a> then they ask for basic things to install like languages and give the details like database, username, password, and also ask for database host and table prefix that are don&#39;t wont to change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*x5K3zamljJbfdSC8w0UHcw.png" /></figure><p>After running the installation page we can see the information needed page here we fill in the required details like site title, admin username &amp; password, and email, like in the below image, and then we finally complete the installation and then login as admin using username and password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*neJD1exg2VAf1Fx13yNj7Q.png" /></figure><p>Link for opening the admin panel <a href="http://localhost/hotel_project/wp-admin/">http://localhost/hotel_project/wp-admin/</a></p><p>Appearence -&gt; Themes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NZAZQbFEaOD2YRetMdOahQ.png" /></figure><p>They have the default themes by clicking the <strong>Add new theme </strong>you can choose a new theme from online and activate it, here I choose the default theme.</p><p>After activating the theme click the customize it redirects to the customizing page here you can change the header styles, logo, tag-line, theme colors, footer widget, menu, background image and additional css to add.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EDftod6sgxO3mq-Ei-d4PA.png" /></figure><p>Now you can edit page using the default Wordpress editor by clicking the <strong>Edit page</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xz-kJ3c-Kzb6zypLCSF6OA.png" /></figure><p>But I prefer for elementor which you can add it from admin panel -&gt; plugin -&gt; add new -&gt; search for elementor install and activate it. And open the home page an click <strong>Edit page.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hhC-gZZ1sevlt1jrOHo60A.png" /></figure><p>In the another interesting blog we can see about how to use elementor in Wordpress and add custom styles to the website.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e25d9a2b0f47" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yavar/how-to-install-a-wordpress-and-create-a-website-in-localhost-e25d9a2b0f47">How to install a wordpress and create a website in localhost?</a> was originally published in <a href="https://medium.com/yavar">YavarTechWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>