<?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 Paulo Belo on Medium]]></title>
        <description><![CDATA[Stories by Paulo Belo on Medium]]></description>
        <link>https://medium.com/@pjbelo?source=rss-19552bea7348------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NyCcYt2odnMPDnk5GhA8Lw.jpeg</url>
            <title>Stories by Paulo Belo on Medium</title>
            <link>https://medium.com/@pjbelo?source=rss-19552bea7348------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 12:05:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pjbelo/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[Flutter: WebView — a simple demo]]></title>
            <link>https://pjbelo.medium.com/flutter-webview-a-simple-demo-74fa6bb476d5?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/74fa6bb476d5</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Fri, 27 Jan 2023 12:24:35 GMT</pubDate>
            <atom:updated>2023-01-27T12:24:35.916Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<h3>Flutter: WebView — a simple demo</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*HkoSYYHlGkJuVx60gKxxmw.jpeg" /></figure><p>A step-by-step demo of a basic implementation of webview_flutter, a Flutter plugin that provides a WebView widget on Android and iOS.</p><p>webview_flutter is avaliable for iOS and Android platforms. On iOS the WebView widget is backed by a <a href="https://developer.apple.com/documentation/webkit/wkwebview">WKWebView</a>. On Android the WebView widget is backed by a <a href="https://developer.android.com/reference/android/webkit/WebView">WebView</a>.</p><h3>Step 1 — Installation and configuration</h3><p>To install the <a href="https://pub.dev/packages/webview_flutter">webview_flutter</a> package run:</p><pre>flutter pub add webview_flutter</pre><p>You will be able to import the package in your code using:</p><pre>import &#39;package:webview_flutter/webview_flutter.dart&#39;;</pre><p>To use the webview_flutter plugin on Android you need to set the minSDK to 19 or 20, depending which Android Platform View you want to use.</p><p>Modify your android/app/build.gradle file as follows:</p><pre>  minSdkVersion 20<br>  targetSdkVersion 30</pre><h3>Step 2 — Basic webview</h3><p>For a basic webview implementation you should follow three steps:</p><ol><li>Define a WebViewController:</li></ol><pre>late final WebViewController controller;</pre><p>2. Instatiate the controller, inside <strong>insitState</strong> method, and set the properties for <a href="https://pub.dev/documentation/webview_flutter/latest/webview_flutter/WebViewController/loadRequest.html">loadRequest</a> method with the url you want to open.</p><pre>controller = WebViewController()..loadRequest(Uri.parse(&#39;https://flutter.dev&#39;));</pre><p>3. And inside the <strong>build</strong> method pass the controller to a WebViewWidget:</p><pre>WebViewWidget(controller: controller)</pre><p>Full code:</p><pre>import &#39;package:flutter/material.dart&#39;;<br>import &#39;package:webview_flutter/webview_flutter.dart&#39;;<br><br>void main() {<br>  runApp(<br>    const MaterialApp(<br>      home: WebViewApp(),<br>    ),<br>  );<br>}<br><br>class WebViewApp extends StatefulWidget {<br>  const WebViewApp({super.key});<br><br>  @override<br>  State&lt;WebViewApp&gt; createState() =&gt; _WebViewAppState();<br>}<br><br>class _WebViewAppState extends State&lt;WebViewApp&gt; {<br>  late final WebViewController controller;<br><br>  @override<br>  void initState() {<br>    controller = WebViewController()<br>      ..loadRequest(Uri.parse(&#39;https://flutter.dev&#39;));<br>    super.initState();<br>  }<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: const Text(&#39;Flutter WebView&#39;),<br>      ),<br>      body: WebViewWidget(controller: controller),<br>    );<br>  }<br>}</pre><p>You can also view <a href="https://github.com/pjbelo/flutter_webview_demo/blob/step_2/lib/main.dart">step 2 code at github</a>.</p><h3>Step 3 — Activate javascript</h3><p>If you want to activate javascript, just add:</p><pre>..setJavaScriptMode(JavaScriptMode.unrestricted)</pre><p>You can see <a href="https://github.com/pjbelo/flutter_webview_demo/blob/step_3/lib/main.dart">step 3 code at github</a>.</p><h3>Step 4 — Restrict navigation to url</h3><p>setNavigationDelegate method sets the NavigationDelegate containing the callback methods that are called during navigation events.</p><p>These callbacks can be used for accepting or rejecting navigation changes, and for tracking the progress of navigation requests.</p><p>So we can compare the navigation url with the url we want navigation be restricted to, and if it’s different prevent navigation.</p><p>Full code:</p><pre>import &#39;package:flutter/material.dart&#39;;<br>import &#39;package:webview_flutter/webview_flutter.dart&#39;;<br><br>void main() {<br>  runApp(<br>    const MaterialApp(<br>      home: WebViewApp(),<br>    ),<br>  );<br>}<br><br>class WebViewApp extends StatefulWidget {<br>  const WebViewApp({super.key});<br><br>  @override<br>  State&lt;WebViewApp&gt; createState() =&gt; _WebViewAppState();<br>}<br><br>class _WebViewAppState extends State&lt;WebViewApp&gt; {<br>  late final WebViewController controller;<br>  String url = &#39;https://flutter.dev&#39;;<br><br>  @override<br>  void initState() {<br>    controller = WebViewController()<br>      ..setJavaScriptMode(JavaScriptMode.unrestricted)<br>      ..setNavigationDelegate(<br>        NavigationDelegate(<br>          onNavigationRequest: (navigation) {<br>            if (navigation.url != url) {<br>              return NavigationDecision.prevent;<br>            }<br>            return NavigationDecision.navigate;<br>          },<br>        ),<br>      )<br>      ..loadRequest(Uri.parse(url));<br>    super.initState();<br>  }<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: const Text(&#39;Flutter WebView&#39;),<br>      ),<br>      body: WebViewWidget(<br>        controller: controller,<br>      ),<br>    );<br>  }<br>}</pre><p>See <a href="https://github.com/pjbelo/flutter_webview_demo/blob/step_4/lib/main.dart">step 4 code at github</a>.</p><p>If you want to restrict navigation to a domain or a sub-path, you can change the if condition to something like:</p><pre>if (!navigation.url.startsWith(&#39;https://flutter.dev&#39;))</pre><p>I hope this demos can be useful to you!</p><p>Cheers,</p><p>Paulo</p><p>Original story published at: <a href="https://www.flutter-demo.net/2023/01/flutter-webview-simple-demo.html">https://www.flutter-demo.net/2023/01/flutter-webview-simple-demo.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74fa6bb476d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter: using Tabs - a simple demo]]></title>
            <link>https://pjbelo.medium.com/flutter-using-tabs-a-simple-demo-568e4d78a1d2?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/568e4d78a1d2</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Tue, 03 Jan 2023 13:00:08 GMT</pubDate>
            <atom:updated>2023-01-03T13:00:08.477Z</atom:updated>
            <content:encoded><![CDATA[<p>How to use Tabs in Flutter, using `DefaultTabController` class, how to set a default Tab and how to listen to updates in TabBar</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*tpcrgiyFind3jI1QqM3H5A.jpeg" /></figure><blockquote><a href="https://api.flutter.dev/flutter/material/DefaultTabController-class.html">DefaultTabController</a> is an inherited widget that is used to share a <a href="https://api.flutter.dev/flutter/material/TabController-class.html">TabController</a> with a <a href="https://api.flutter.dev/flutter/material/TabBar-class.html">TabBar</a> or a <a href="https://api.flutter.dev/flutter/material/TabBarView-class.html">TabBarView</a>. It’s used when sharing an explicitly created <a href="https://api.flutter.dev/flutter/material/TabController-class.html">TabController</a> isn’t convenient because the tab bar widgets are created by a stateless parent widget or by different parent widgets.</blockquote><p>To implement our Tabs demo it’s important to understand two main components:</p><p>TabBar</p><p>TabBar is Material Design widget that displays a horizontal row of tabs.</p><blockquote>Typically created as the <a href="https://api.flutter.dev/flutter/material/AppBar/bottom.html">AppBar.bottom</a> part of an <a href="https://api.flutter.dev/flutter/material/AppBar-class.html">AppBar</a> and in conjunction with a <a href="https://api.flutter.dev/flutter/material/TabBarView-class.html">TabBarView</a>. The tab controller’s <a href="https://api.flutter.dev/flutter/material/TabController/length.html">TabController.length</a> must equal the length of the <a href="https://api.flutter.dev/flutter/material/TabBar/tabs.html">tabs</a> list and the length of the <a href="https://api.flutter.dev/flutter/material/TabBarView/children.html">TabBarView.children</a> list. Requires one of its ancestors to be a <a href="https://api.flutter.dev/flutter/material/Material-class.html">Material</a> widget.</blockquote><p>TabBarView</p><p>TabBarView is a page view that displays the widget which corresponds to the currently selected tab.</p><blockquote>This widget is typically used in conjunction with a <a href="https://api.flutter.dev/flutter/material/TabBar-class.html">TabBar</a>. The tab controller’s <a href="https://api.flutter.dev/flutter/material/TabController/length.html">TabController.length</a> must equal the length of the <a href="https://api.flutter.dev/flutter/material/TabBarView/children.html">children</a> list and the length of the <a href="https://api.flutter.dev/flutter/material/TabBar/tabs.html">TabBar.tabs</a> list.</blockquote><h3>Step 1 — Basic use</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*526hu9xFiD7jbYN938o4xg.gif" /></figure><p>In our demo, the TabBar will be defined as:</p><pre>const TabBar(<br>            tabs: [<br>              Tab(text: &quot;Tab 0&quot;),<br>              Tab(text: &quot;Tab 1&quot;),<br>              Tab(text: &quot;Tab 2&quot;),<br>            ],<br>          )</pre><p>And the TabBarView will be defined as:</p><pre>const TabBarView(<br>          children: [<br>            Center(child: Text(&#39;View 0&#39;)),<br>            Center(child: Text(&#39;View 1&#39;)),<br>            Center(child: Text(&#39;View 2&#39;)),<br>          ],<br>        )</pre><p>The full code for our step1 will be:</p><pre>import &#39;package:flutter/material.dart&#39;;<br><br>const Color darkBlue = Color.fromARGB(255, 18, 32, 47);<br><br>void main() {<br>  runApp(const MyApp());<br>}<br><br>class MyApp extends StatelessWidget {<br>  const MyApp({super.key});<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return MaterialApp(<br>      theme: ThemeData.dark().copyWith(<br>        scaffoldBackgroundColor: darkBlue,<br>      ),<br>      debugShowCheckedModeBanner: false,<br>      home: const TabsDemo(),<br>    );<br>  }<br>}<br><br>class TabsDemo extends StatelessWidget {<br>  const TabsDemo({super.key});<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return DefaultTabController(<br>      length: 3,<br>      child: Scaffold(<br>        appBar: AppBar(<br>          bottom: const TabBar(<br>            tabs: [<br>              Tab(text: &quot;Tab 0&quot;),<br>              Tab(text: &quot;Tab 1&quot;),<br>              Tab(text: &quot;Tab 2&quot;),<br>            ],<br>          ),<br>          title: const Text(&#39;Tabs Demo&#39;),<br>        ),<br>        body: const TabBarView(<br>          children: [<br>            Center(child: Text(&#39;View 0&#39;)),<br>            Center(child: Text(&#39;View 1&#39;)),<br>            Center(child: Text(&#39;View 2&#39;)),<br>          ],<br>        ),<br>      ),<br>    );<br>  }<br>}</pre><p>Notice that we have set the DefaultTabController‘s length argument to 3. This is a required argument. The [length] must match [TabBar.tabs]’s and [TabBarView.children]’s length.</p><p>You can also check the <a href="https://dartpad.dev/?id=b089e7486f527af7bd80dca633248d35">step 1 interactive demo</a>.</p><h3>Step 2 — Set a default Tab</h3><p>The default Tab is 0. This means that when the TabBar is shown it will select by default the first Tab (position 0). If you want to set another Tab as the default you must set the `initialIndex` argument.</p><p>So let´s add it to our demo:</p><pre>...<br>    return DefaultTabController(<br>      length: 3,<br>      initialIndex: 2, // remember the first is 0<br>... </pre><p>You can check it running at <a href="https://dartpad.dev/?id=b20297d6303c64bb8c05cd85843279e6">step 2 interactive demo</a>.</p><h3>Step 3 — Listening to Tab change</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*2TuqEPB6yv5iTqcOaegaLw.gif" /></figure><p>Sometimes you want to run your own code when a user clicks on a diferent tab. To do this we’ll we need to expose the controller using a Builder and then add a listener. So we’ll change this:</p><pre>return DefaultTabController(<br>      length: 3,<br>      child: Scaffold(<br>      ...</pre><p>to this:</p><pre>return DefaultTabController(<br>      length: 3,<br>      child: Builder(builder: (BuildContext context) {<br>        final TabController controller = DefaultTabController.of(context);<br>        controller.addListener(() {<br>          if (!controller.indexIsChanging) {<br>          ... code that runs on tab change ...<br>          }<br>        }<br>        return Scaffold(<br>        ...</pre><p>In our Demo we’ll change our title to “Selected Tab:” and update the title text to display the selected tab index. This means we’ll need a StatefulWidget, so we need to convert our TabsDemo StatelessWidget.</p><p>we’ll change this:</p><pre>class TabsDemo extends StatelessWidget {<br>  const TabsDemo({super.key});</pre><p>to this:</p><pre>class TabsDemo extends StatefulWidget {<br>  const TabsDemo({super.key});<br><br>  @override<br>  State&lt;TabsDemo&gt; createState() =&gt; _TabsDemoState();<br>}<br><br>class _TabsDemoState extends State&lt;TabsDemo&gt; {</pre><p>We’ll also add some variables to hold the values for selected tab and the title text:</p><pre>  int _selectedTab = 1;<br>  final String _title = &quot;Selected Tab: &quot;;<br>  String _fullTitle = &quot;&quot;;</pre><p>And we’ll initialize the _fullTitle variable with the _title + _selectedTab concatenation value:</p><pre>  @override<br>  void initState() {<br>    _fullTitle = _title + _selectedTab.toString();<br>    super.initState();<br>  }</pre><p>Now we’ll add the following code to the listener so when we click on a diferent tab this code will update the state of the app with _fullTitle new value:</p><pre>          if (!controller.indexIsChanging) {<br>            _selectedTab = controller.index;<br>            setState(() {<br>              _fullTitle = _title + _selectedTab.toString();<br>            });<br>          }</pre><p>The full code:</p><pre>import &#39;package:flutter/material.dart&#39;;<br><br>const Color darkBlue = Color.fromARGB(255, 18, 32, 47);<br><br>void main() {<br>  runApp(const MyApp());<br>}<br><br>class MyApp extends StatelessWidget {<br>  const MyApp({super.key});<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return MaterialApp(<br>      theme: ThemeData.dark().copyWith(<br>        scaffoldBackgroundColor: darkBlue,<br>      ),<br>      debugShowCheckedModeBanner: false,<br>      home: const TabsDemo(),<br>    );<br>  }<br>}<br><br>class TabsDemo extends StatefulWidget {<br>  const TabsDemo({super.key});<br><br>  @override<br>  State&lt;TabsDemo&gt; createState() =&gt; _TabsDemoState();<br>}<br><br>class _TabsDemoState extends State&lt;TabsDemo&gt; {<br>  int _selectedTab = 1;<br>  final String _title = &quot;Selected Tab: &quot;;<br>  String _fullTitle = &quot;&quot;;<br><br>  @override<br>  void initState() {<br>    _fullTitle = _title + _selectedTab.toString();<br>    super.initState();<br>  }<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return DefaultTabController(<br>      length: 3,<br>      initialIndex: _selectedTab,<br>      child: Builder(builder: (BuildContext context) {<br>        final TabController controller = DefaultTabController.of(context)!;<br>        controller.addListener(() {<br>          if (!controller.indexIsChanging) {<br>            _selectedTab = controller.index;<br>            setState(() {<br>              _fullTitle = _title + _selectedTab.toString();<br>            });<br>          }<br>        });<br>        return Scaffold(<br>          appBar: AppBar(<br>            bottom: const TabBar(<br>              tabs: [<br>                Tab(text: &quot;Tab 0&quot;),<br>                Tab(text: &quot;Tab 1&quot;),<br>                Tab(text: &quot;Tab 2&quot;),<br>              ],<br>            ),<br>            title: Text(_fullTitle),<br>          ),<br>          body: const TabBarView(<br>            children: [<br>              Center(child: Text(&#39;View 0&#39;)),<br>              Center(child: Text(&#39;View 1&#39;)),<br>              Center(child: Text(&#39;View 2&#39;)),<br>            ],<br>          ),<br>        );<br>      }),<br>    );<br>  }<br>}</pre><p>And you can try it at <a href="https://dartpad.dev/?id=ccc4cc504dfb32e02396a7c1ab3ca18f">step 3 interactive demo</a>.</p><p>Original story published at: <a href="https://www.flutter-demo.net/2023/01/flutter-using-tabs-simple-demo.html">https://www.flutter-demo.net/2023/01/flutter-using-tabs-simple-demo.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=568e4d78a1d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[QuickStart to ElementTree: Manipulating XML in Python]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pjbelo.medium.com/quickstart-to-elementtree-manipulating-xml-in-python-bc14699e70dc?source=rss-19552bea7348------2"><img src="https://cdn-images-1.medium.com/max/1440/1*rVEPT6bzMg5iXoQUOGdMsA.jpeg" width="1440"></a></p><p class="medium-feed-snippet">Learn by example: a quick step-by-step tutorial on main ElementTree features. Read, find element(s), create, iterate and save to XML.</p><p class="medium-feed-link"><a href="https://pjbelo.medium.com/quickstart-to-elementtree-manipulating-xml-in-python-bc14699e70dc?source=rss-19552bea7348------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://pjbelo.medium.com/quickstart-to-elementtree-manipulating-xml-in-python-bc14699e70dc?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc14699e70dc</guid>
            <category><![CDATA[xml]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Wed, 21 Dec 2022 10:49:26 GMT</pubDate>
            <atom:updated>2022-12-27T11:31:00.082Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
        </item>
        <item>
            <title><![CDATA[Flutter — How to create linked scroll widgets]]></title>
            <link>https://pjbelo.medium.com/flutter-how-to-create-linked-scroll-widgets-136f2dd078d4?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/136f2dd078d4</guid>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[application-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Thu, 15 Sep 2022 15:17:41 GMT</pubDate>
            <atom:updated>2022-12-29T10:25:33.550Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<h3>Flutter: How to create linked scroll widgets</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*7j5BQPplS7PpbeGi36C0fw.png" /></figure><p>Learn how to scroll multiple widgets in sync, using Google’s linked_scroll_controller package.</p><p>Before:</p><figure><img alt="no sync scroll demo" src="https://cdn-images-1.medium.com/max/320/1*Wa1oKRVLzZlaecgdktafig.gif" /><figcaption>no sync scroll</figcaption></figure><p>After:</p><figure><img alt="sync scroll demo" src="https://cdn-images-1.medium.com/max/320/1*TO4YMv25NX7MQaUyO6I84Q.gif" /><figcaption>linked scroll</figcaption></figure><p>Here you can check the code for creating a vertical and horizontal scrollable grid with scrollable row and column headers:</p><p><a href="https://gist.github.com/pjbelo/1497bd3ba6ef7e9c25f7434cefd488ae">Code at Github Gist</a><br><a href="https://dartpad.dev/?id=1497bd3ba6ef7e9c25f7434cefd488ae">DartPad Live Demo</a></p><p>Scrolling widgets will create a default scroll controller (<a href="https://api.flutter.dev/flutter/widgets/ScrollController-class.html">ScrollController class</a>) if none is provided. A scroll controller creates a ScrollPosition to manage the state specific to an individual Scrollable widget.</p><p>To link our scroll controllers we’ll use <a href="https://pub.dev/packages/linked_scroll_controller">linked_scroll_controller</a>, a scroll controller that allows two or more scroll views to be in sync.</p><p>Lets create a group and associate the controllers we want to be linked to this group. First we declare our variables:</p><pre>late LinkedScrollControllerGroup _horizontalControllersGroup;<br>late ScrollController _horizontalController1;<br>late ScrollController _horizontalController2;</pre><p>And in initState method we’ll instantiate and add them to the respective group:</p><pre>_horizontalControllersGroup = LinkedScrollControllerGroup();<br>_horizontalController1 = _horizontalControllersGroup.addAndGet();<br>_horizontalController2 = _horizontalControllersGroup.addAndGet();</pre><p>We should now make use of the apropriate controllers in each widget. Example:</p><pre>SingleChildScrollView(<br> scrollDirection: Axis.horizontal,<br> <strong>controller: _horizontalController2,</strong><br> child: HeaderContainer(rowEntries: rowEntries),</pre><p>And that’s it!</p><p>1. create a group<br>2. add controllers to group<br>3. use controller in widget</p><p>Flutter will now scroll in sync widgets with controllers of the same group.</p><p>(note that we should discard them in dispose method, as seen in the code example)</p><p>Next you can check the complete code. Raw code <a href="https://gist.githubusercontent.com/pjbelo/daf02835be6c818616066a5662633951/raw/3a1b916dab811977ce505859b1e1ab00ea7d51f9/linked-scroll-demo.dart">here</a>.</p><p>Note: at this time DartPad cannot import `linked_scroll_controller` package so I can’t make a DartPad for a live demo.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/51c601c091abf769c54b22df95352c23/href">https://medium.com/media/51c601c091abf769c54b22df95352c23/href</a></iframe><p>Story originally published at: <a href="https://www.flutter-demo.net/2022/12/how-to-create-linked-scroll-widgets.html">https://www.flutter-demo.net/2022/12/how-to-create-linked-scroll-widgets.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=136f2dd078d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating list and table sticky headers with HTML and CSS]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pjbelo.medium.com/creating-list-and-table-sticky-headers-41ea27dc233a?source=rss-19552bea7348------2"><img src="https://cdn-images-1.medium.com/max/1400/0*d5fgiO1cW2TsfmLz.png" width="1400"></a></p><p class="medium-feed-snippet">Using CSS position: sticky</p><p class="medium-feed-link"><a href="https://pjbelo.medium.com/creating-list-and-table-sticky-headers-41ea27dc233a?source=rss-19552bea7348------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://pjbelo.medium.com/creating-list-and-table-sticky-headers-41ea27dc233a?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/41ea27dc233a</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[css3]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Sun, 23 May 2021 19:10:06 GMT</pubDate>
            <atom:updated>2022-12-27T16:20:09.910Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
        </item>
        <item>
            <title><![CDATA[Introduction to 3D in HTML5 with WebGL and Three.js]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pjbelo.medium.com/introduction-to-3d-in-html5-with-webgl-and-three-js-38565aa689c?source=rss-19552bea7348------2"><img src="https://cdn-images-1.medium.com/max/1084/1*tdI-dKyJX8FVsh8QiwZNVQ.png" width="1084"></a></p><p class="medium-feed-snippet">Starting in the world of 3D programming may not be easy. There are many new concepts if you come from the 2D world: 3 axes, rotation&#x2026;</p><p class="medium-feed-link"><a href="https://pjbelo.medium.com/introduction-to-3d-in-html5-with-webgl-and-three-js-38565aa689c?source=rss-19552bea7348------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://pjbelo.medium.com/introduction-to-3d-in-html5-with-webgl-and-three-js-38565aa689c?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/38565aa689c</guid>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[threejs]]></category>
            <category><![CDATA[webgl]]></category>
            <category><![CDATA[3d]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Mon, 24 Aug 2020 17:02:29 GMT</pubDate>
            <atom:updated>2021-05-27T11:04:42.319Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building an XML API with Rails]]></title>
            <link>https://pjbelo.medium.com/building-an-xml-api-with-rails-79379b305a6?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/79379b305a6</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[xml]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Sun, 16 Dec 2018 19:43:40 GMT</pubDate>
            <atom:updated>2018-12-16T19:43:40.956Z</atom:updated>
            <content:encoded><![CDATA[<h4>Step-by-step Tutorial</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3CDMhGuq1rhT1k21H7JFtw.jpeg" /></figure><p>XML is old news. But maybe you have never used it and now you need to. It happened to me recently. In this article I’ll share what I’ve learned about building an XML API, using a step-by-step tutorial.</p><p>Level: beginner</p><p>Pre requisites: basic knowledge of Rails</p><h3>Create a basic CRUD App</h3><p>Our API must read data from somewhere. So we’ll start by creating a basic CRUD app to hold some data about products and categories that will be read by our API.</p><p>Create a new rails project with the name xml-api:</p><pre>$ rails new xml-api</pre><pre>$ cd xml-api</pre><p>Now let’s scaffold our app with two models: Product and Category.</p><p>The Product will have two attributes: name and quantity and will be associated with one category (belongs_to).</p><p>The Category will have only one attribute: name and will be associated with several products (has_many).</p><p>So, we’ll have a one (category) to many (products) association.</p><pre>$ rails generate scaffold Category name:string</pre><pre>$ rails generate scaffold Product name:string quantity:integer category:belongs_to</pre><p>Rails automatically includes belongs_to :category in Product model, but we must manually add has_many :products to Category model:</p><pre><em># app/models/category.rb</em></pre><pre><strong>class</strong> <strong>Category</strong> &lt; ApplicationRecord<br>    has_many :products<br><strong>end</strong></pre><p>to create the database let’s run</p><pre>$ rails db:migrate</pre><p>and to get some initial data let’s copy this into seeds.rb</p><pre><em># db/seeds.rb</em></pre><pre>Category.create!([<br>    {name: &#39;Book&#39;},<br>    {name: &#39;DVD&#39;},<br>    {name: &#39;Blu Ray&#39;}<br>])</pre><pre>Product.create!([<br>    {name: &#39;Dom quixote de La Mancha&#39;, quantity: 12, category_id: Category.find_by_name(&#39;Book&#39;).id},<br>    {name: &#39;Hamlet&#39;, quantity: 3, category_id: Category.find_by_name(&#39;Book&#39;).id},<br>    {name: &#39;War and Peace&#39;, quantity: 7, category_id: Category.find_by_name(&#39;Book&#39;).id},<br>    {name: &#39;Moby Dick&#39;, quantity: 14, category_id: Category.find_by_name(&#39;Book&#39;).id},<br>    {name: &#39;Forrest Gump&#39;, quantity: 16, category_id: Category.find_by_name(&#39;DVD&#39;).id},<br>    {name: &#39;Taxi Driver&#39;, quantity: 25, category_id: Category.find_by_name(&#39;DVD&#39;).id},<br>    {name: &#39;The Godfather&#39;, quantity: 21, category_id: Category.find_by_name(&#39;DVD&#39;).id},<br>    {name: &#39;Star Wars: The Last Jedi&#39;, quantity: 48, category_id: Category.find_by_name(&#39;Blu Ray&#39;).id},<br>    {name: &#39;Dunkirk&#39;, quantity: 12, category_id: Category.find_by_name(&#39;Blu Ray&#39;).id},<br>    {name: &#39;Black Panther&#39;, quantity: 21, category_id: Category.find_by_name(&#39;Blu Ray&#39;).id}<br>])</pre><p>and run</p><pre>$ rails db:seed</pre><p>now start rails server</p><pre>$ rails server</pre><p>and you can now use your browser to navigate to</p><pre><a href="http://localhost:3000/products">http://localhost:3000/products</a></pre><p>and you should see this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fdnhrGGUhDducAaaX8PG_g.jpeg" /></figure><p>Let’s quickly do some tweaks to our App so we improve our navigation and views:</p><p>Setting root to /products:</p><pre><em># config/routes.rb</em></pre><pre>Rails.application.routes.draw <strong>do</strong><br>  root &quot;products#index&quot;<br>  ...</pre><p>Creating our Menu:</p><pre><em># app/views/layouts/application.html.erb</em></pre><pre>  &lt;body&gt;<br>    &lt;p&gt;<br>      &lt;%= link_to &#39;Products&#39;, products_path %&gt;  <br>      &lt;%= link_to &#39;Categories&#39;, categories_path %&gt;<br>    &lt;/p&gt;<br>    ...</pre><p>Let’s change views to show category name instead of object reference:</p><pre><em># app/views/products/show.html.erb     </em></pre><pre>  &lt;%= @product.category.name %&gt;</pre><pre><em><br># app/views/products/index.html.erb</em></pre><pre>  &lt;td&gt;&lt;%= product.category.name %&gt;&lt;/td&gt;</pre><p>and use collection_select on form to have a dropdown selection of categories:</p><pre><em># app/views/products/_form.html.erb</em></pre><pre>&lt;%= form.collection_select :category_id, Category.order(:name),:id,:name  %&gt;</pre><p>You can check this section <a href="https://github.com/pjbelo/xml-api/commit/f7c27fc30e90e39422c2ff3f22ea0df733549735">complete code here</a>.</p><p>Now if we go to:</p><pre><a href="http://localhost:3000/">http://localhost:3000/</a></pre><p>We should see:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pO_YYIbDBToitE704KuNAw.jpeg" /></figure><p>Now that we have an acceptable CRUD app to insert and edit contents, we’ll see how to create an XML api to serve these contents.</p><h3>Building an XML API</h3><p>What happens if we make an XML request to our Rails APP? Let’s see…</p><p>Try to make a GET request using <a href="https://curl.haxx.se/">curl</a> to see how our App responds:</p><pre>$ curl -H &quot;Accept: application/xml&quot; -H &quot;Content-Type: application/xml&quot; -X GET <a href="http://localhost:3000/categories">http://localhost:3000/categories</a></pre><p>You should get this error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*tRnJRM0qd0N68K9YNE0iNw.jpeg" /></figure><p>You can also use your browser, appending ‘.xml’ to the url:</p><pre><a href="http://localhost:3000/categories.xml">http://localhost:3000/categories.xml</a></pre><p>But it will also return an error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tVfYADZHziAm--yuko-VnA.jpeg" /></figure><p>This is because we must instruct Rails to respond to XML requests and what to do. So in the controller let’s add <a href="https://api.rubyonrails.org/classes/ActionController/MimeResponds.html#method-i-respond_to">respond_to</a> method.</p><p>We’ll start by configuring Categories controller, and instruct Rails to accept requests in html and xml formats:</p><pre><em># app/controllers/categories_controller.rb</em></pre><pre>  <strong>def</strong> <strong>index</strong><br>    @categories = Category.all<br>    respond_to <strong>do</strong> |format|<br>      format.html<br>      format.xml { render xml: @categories }<br>    <strong>end</strong><br>  <strong>end</strong></pre><p>When we do render xml: @categories rails will automatically call to_xml method on @categories. If you want to pass some options you can explicitly call it:</p><pre>render xml: @categories.to_xml(options)</pre><blockquote><a href="https://api.rubyonrails.org/classes/Hash.html#method-i-to_xml"><em>to_xml(options = {})</em></a></blockquote><blockquote><em>Returns a string containing an XML representation of its receiver</em></blockquote><p>Let’s make a GET request using curl:</p><pre>$ curl -H &quot;Accept: application/xml&quot; -H &quot;Content-Type: application/xml&quot; -X GET <a href="http://localhost:3000/categories">http://localhost:3000/categories</a></pre><p>Now you should get a valid response with something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*jHXWHafxWMILXwzPX49eNg.jpeg" /></figure><p>We are getting a reference for the Category object, but we want to access the content.</p><p>In many other tutorials that you can find online this example is used to show the object’s content. This is because of the following change that happened with Rails 4 release:</p><p><a href="https://guides.rubyonrails.org/v4.1.8/4_0_release_notes.html#active-record-notable-changes">Ruby on Rails 4.0 Release Notes</a></p><blockquote><em>11 Active Record</em></blockquote><blockquote><em>11.1 Notable changes</em></blockquote><blockquote><em>Model.all now returns an ActiveRecord::Relation, rather than an array of records.</em></blockquote><p>So my suggestion is that we convert the object to hash. To do this we can use as_json method:</p><p><a href="https://api.rubyonrails.org/classes/ActiveModel/Serializers/JSON.html#method-i-as_json">as_json(options = nil)</a></p><blockquote><em>Returns a hash representing the model. Some configuration can be passed through options.</em></blockquote><p>In our case we will do this:</p><pre>format.xml { render xml: @categories.as_json }</pre><p>Now when we make the request we get this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*coV8X97qXSr6GdQ-le2YfQ.jpeg" /></figure><p>We can also pass some options with as_json method. Let&#39;s see some examples.</p><p>If we only want to see id and name fields:</p><pre>format.xml { render xml: @categories.as_json(only: [:id, :name]) }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*GQPnJ4Ckf9ZfiDyW5BkRPQ.jpeg" /></figure><p>we can also indicate the fields we do not want to see (eg. id, created_at):</p><pre>format.xml {render xml: @categories.as_json(except: [:id, :created_at]) }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*MAiOZK2IXaJqaqDptq1GBw.jpeg" /></figure><p>if we don’t want types to be shown we can</p><pre>format.xml { render xml: @categories.as_json(only: [:id, :name], skip_types: true) }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*uZbM9GvYS3-_TWQK8HG8ig.jpeg" /></figure><p>if we want to include the products in each category</p><pre>format.xml { render xml: @categories.as_json(only: [:id, :name], skip_types: true, root: true, include: :products ) }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mkLRIpWv6tYVrPbAHx4CDA.jpeg" /></figure><p>and if we only want to see the product name and quantities</p><pre>format.xml { render xml: @categories.as_json(only: [:id, :name], skip_types: true, root: true, include: {products: {only: [:name, :quantity]}} ) }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fqgzn_v-TJWsgw_WusS0wQ.jpeg" /></figure><p>In these examples we’ve been using curl, but we could also have used the browser. In this last example we would get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qYydMPB8QD7AcEwHuHxa9g.jpeg" /></figure><p>For the show method you could do:</p><pre><em># app/controllers/categories_controller.rb</em></pre><pre>  <strong>def</strong> <strong>show</strong><br>    respond_to <strong>do</strong> |format|<br>      format.html<br>      format.xml { render xml: @category.as_json }<br>    <strong>end</strong><br>  <strong>end</strong></pre><p>and access it with:</p><pre><a href="http://localhost:3000/categories/1.xml">http://localhost:3000/categories/1.xml</a></pre><p>You can check this section <a href="https://github.com/pjbelo/xml-api/commit/dc8a2e833d92b6cabf1b2a8597897a8f42b81038">complete code here</a>.</p><p>So far we’ve seen how we can generate XML configuring our controllers. In the next section we’ll see other option.</p><h3>Configuring an XML view</h3><p>Based on MVC (Model-View-Controller) architectural pattern, Rails will check for the correspondent View when the controller is called.</p><p>If you try to see product with id=1:</p><pre><a href="http://localhost:3000/products/1.xml">http://localhost:3000/products/1.xml</a></pre><p>you’ll get an error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-OVMLCvCdQ9Alhloh2nRw.jpeg" /></figure><p>The message ProductsController#show is missing a template for this request format and variant. request.formats: [&quot;application/xml&quot;]...appears because Rails is looking for a XML view but it doesn&#39;t exist.</p><p>So, let’s create one. Create a new file show.xml.builder and paste the following lines:</p><pre><em># app/views/products/show.xml.builder</em></pre><pre>xml.instruct!<br>xml.product <strong>do</strong><br>  xml.name @product.name <br>  xml.quantity(@product.quantity, type: &#39;integer&#39;)<br>  xml.category @product.category.name<br><strong>end</strong></pre><p>xml.instruct! will insert a processing instruction into the XML markup - the <a href="https://www.w3.org/TR/xml/#sec-prolog-dtd">XML prolog</a>. (If your browser doesn´t show it, try checking the page source.)</p><p>xml.product do will create the root element with the name &lt;product&gt;.</p><p>The next three lines will create the child elements. Each line defines the element name, value and attributes (optional).</p><p>Let’s try again:</p><pre><a href="http://localhost:3000/products/1.xml">http://localhost:3000/products/1.xml</a></pre><p>And you should get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p6O7GM5AmjYCf2fBVkUxfw.jpeg" /></figure><p>The same way, well get errors if we try to get a list of the products:</p><pre><a href="http://localhost:3000/products.xml">http://localhost:3000/products.xml</a></pre><p>You should get the same error as above.</p><p>So, let’s create an xml view for products#index. Create a new file index.xml.builder and paste the following lines:</p><pre><em># app/views/products/index.xml.builder</em></pre><pre>xml.instruct!<br>xml.products <strong>do</strong><br>  @products.each <strong>do</strong> |product|<br>    xml.product <strong>do</strong><br>      xml.name product.name<br>      xml.quantity product.quantity<br>      xml.category product.category.name<br>    <strong>end</strong><br>  <strong>end</strong><br><strong>end</strong></pre><p>Here we are creating a root element &lt;products&gt; and the iterating through each product, creating a &lt;product&gt; element which contains three child elements: &lt;name&gt;, &lt;quantity&gt; and &lt;category&gt;.</p><p>If we refresh the browser we can now see:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UXay0jQ53Obk_f1Fzk4icA.jpeg" /></figure><p>How can we get a list of products by category? To get it we must create a new controller method, define a new route and create the respective xml view. Let’s do this. Step by step.</p><p>Creating the new products_by_category controller method:</p><pre><em># app/controllers/products_controller.rb</em></pre><pre>  <strong>def</strong> <strong>products_by_category</strong><br>    @categories = Category.all<br>  <strong>end</strong></pre><p>Setting up the new route /products_by_category:</p><pre><em># config/routes.rb</em></pre><pre>  get &#39;/products_by_category&#39;, to: &#39;products#products_by_category&#39;</pre><p>And finally the new XML view:</p><pre><em>#  app/views/products/products_by_category.xml.builder</em></pre><pre>xml.instruct!<br>xml.products_by_category <strong>do</strong><br>  @categories.each <strong>do</strong> |category|<br>    xml.category <strong>do</strong><br>        xml.name category.name<br>            category.products.each <strong>do</strong> |product|<br>                xml.product <strong>do</strong><br>                    xml.name product.name<br>                    xml.quantity product.quantity<br>                <strong>end</strong><br>            <strong>end</strong><br>        <strong>end</strong><br>    <strong>end</strong><br><strong>end</strong></pre><p>Now if we run in our browser:</p><pre><a href="http://localhost:3000/products_by_category.xml">http://localhost:3000/products_by_category.xml</a></pre><p>We’ll get this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xOCyxDcB4MQutEVnD5Ej4A.jpeg" /></figure><p>You can check this section <a href="https://github.com/pjbelo/xml-api/commit/975f177fce86d506c77b18a87e54409d0dc903bd">complete code here</a>.</p><p>Notice that if you’ll be working with complex XML structures you should use <a href="https://www.w3.org/TR/2006/REC-xml-names11-20060816/">namespaces</a> to avoid conflicts.</p><h3>API documentation</h3><p>Documenting your API is very important. If people don’t know how to use your API, they don’t use it. So you should make it easy to learn.</p><p>There are many tools that can help you. Some examples are <a href="https://swagger.io/">Swagger</a> and <a href="https://www.getpostman.com/">Postman</a>. I’ve been using the last one (free version) and I can recommend it (I’m not affiliate).</p><p>The Postman documentation tool produces semi-automatic documentation that can be private or public and you may even publish it to the internet if you want your users to access it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8eOvUQqbJTZ8_pfmALNtA.jpeg" /></figure><p>You can <a href="https://documenter.getpostman.com/view/3597797/RzfiFnvW">check here</a> the full documentation for XML-API.</p><p>This finishes this introduction on how to create an XML api with Rails. More advance topics include versioning, authentication, and writing to the api.</p><p>I hope that you have enjoyed this reading and that it may be useful to you.</p><p>You can check (and clone) the complete repository at <a href="https://github.com/pjbelo/xml-api">https://github.com/pjbelo/xml-api</a></p><p>and check the commit history for the different code versions.</p><p>Please feel free to contact. I’ll be glad to help if I can :-)</p><p>Cheers,</p><p>Paulo</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79379b305a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up Rails 5.2 Active Storage, using Google Cloud Storage and Heroku]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pjbelo.medium.com/setting-up-rails-5-2-active-storage-using-google-cloud-storage-and-heroku-23df91e830f8?source=rss-19552bea7348------2"><img src="https://cdn-images-1.medium.com/max/1087/1*DtijODRDM7l1hgNaPacd8g.jpeg" width="1087"></a></p><p class="medium-feed-snippet">Step-by-step Tutorial</p><p class="medium-feed-link"><a href="https://pjbelo.medium.com/setting-up-rails-5-2-active-storage-using-google-cloud-storage-and-heroku-23df91e830f8?source=rss-19552bea7348------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://pjbelo.medium.com/setting-up-rails-5-2-active-storage-using-google-cloud-storage-and-heroku-23df91e830f8?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/23df91e830f8</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Sat, 17 Nov 2018 12:12:52 GMT</pubDate>
            <atom:updated>2020-08-24T16:20:15.601Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
        </item>
        <item>
            <title><![CDATA[Using Google Maps API (v3) with Rails (5.2)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pjbelo.medium.com/using-google-maps-api-v3-with-rails-5-2-b066a4b2cf14?source=rss-19552bea7348------2"><img src="https://cdn-images-1.medium.com/max/792/1*O1WGGhTJehWq3cpkpdsG9Q.jpeg" width="792"></a></p><p class="medium-feed-snippet">Step-by-Step Tutorial</p><p class="medium-feed-link"><a href="https://pjbelo.medium.com/using-google-maps-api-v3-with-rails-5-2-b066a4b2cf14?source=rss-19552bea7348------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://pjbelo.medium.com/using-google-maps-api-v3-with-rails-5-2-b066a4b2cf14?source=rss-19552bea7348------2</link>
            <guid isPermaLink="false">https://medium.com/p/b066a4b2cf14</guid>
            <category><![CDATA[rails-5]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[google-maps]]></category>
            <category><![CDATA[maps]]></category>
            <dc:creator><![CDATA[Paulo Belo]]></dc:creator>
            <pubDate>Sat, 22 Sep 2018 18:26:12 GMT</pubDate>
            <atom:updated>2018-09-22T18:26:12.655Z</atom:updated>
        </item>
    </channel>
</rss>