<?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 Ljudevit Perčić on Medium]]></title>
        <description><![CDATA[Stories by Ljudevit Perčić on Medium]]></description>
        <link>https://medium.com/@ljudevitperi?source=rss-f411ba59a6ca------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HTVNQ5HyN2aF6X8n.</url>
            <title>Stories by Ljudevit Perčić on Medium</title>
            <link>https://medium.com/@ljudevitperi?source=rss-f411ba59a6ca------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 05:12:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ljudevitperi/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[Transitioning from MS Access to web sites]]></title>
            <link>https://medium.com/@ljudevitperi/transitioning-from-ms-access-to-web-sites-97ec8b73a217?source=rss-f411ba59a6ca------2</link>
            <guid isPermaLink="false">https://medium.com/p/97ec8b73a217</guid>
            <category><![CDATA[ms-access-developer]]></category>
            <category><![CDATA[ms-access-solutions]]></category>
            <category><![CDATA[ms-access]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ljudevit Perčić]]></dc:creator>
            <pubDate>Mon, 16 Dec 2024 06:37:54 GMT</pubDate>
            <atom:updated>2024-12-16T07:05:23.271Z</atom:updated>
            <content:encoded><![CDATA[<p>Some time ago, the MS Access Team introduced the NorthWind Traders V2 template.</p><p>This was almost a kick starter for Jam.py Team to do better and faster with their NWT V2 Web site example.</p><p>Yes, there might be many similar examples out there. The Jam.py NWT V1 version exist in the Windows 10/11 Application Store, as a standalone Web server. Powered by Python.</p><p>The Jam.py Team is near to finish the new V2 Web app release in the App Store. And here is the preview:</p><p><a href="https://northwind2.pythonanywhere.com/">https://northwind2.pythonanywhere.com</a></p><p>What is the difference with the V1 example from below?</p><p><a href="https://northwind.pythonanywhere.com/">https://northwind.pythonanywhere.com/</a></p><p>The <strong>massive</strong> difference to V1 Application Builder is this (Desktop, Tablet, Phone):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FCJ5pdXJRQQallSdTvNh1A.png" /></figure><p>The <strong>Desktop</strong> tab defines ALL Forms visibility on desktops, the <strong>Tablet</strong> tab on tablets and <strong>Phone</strong> tab, well, you got the idea.<br> <br>So if you accessing the above V2 app from the phone, for example View Employees, you’ll see only selected records for the phone.</p><p>And all of this with<strong> no code</strong>. As seen on the above screenshot, to control this is by the left hand side list.</p><p>Anything on the left, for Desktop, Tablet or Phone, will be visible. Each option separate from each other.</p><p>So this is <strong>User</strong> <strong>interface</strong>, right? All fields were “pulled” from the existing database, with<strong> no code</strong>. Use any supported DB.</p><p>Now, let’s discuss that famous <strong>logic</strong>. U have a lot of VBA code in MS Access?</p><p>On <strong>Orders</strong> form, there is a button “<strong>Update Year</strong>”. This is how the button appears when added to the Form with JavaScript:</p><pre>    let update_year_btn = item.add_view_button(&#39;Update year&#39;, {type: &#39;success&#39;, btn_id:&#39;update_year_btn&#39;});<br>        update_year_btn.click(function() { <br>            item.question(&#39;Update orders to current year?&#39;, function () {<br>                update_year(item);<br>            });<br>    });</pre><p>In MS Access, the button would be added to the form as well. There would be a code underneath this feature tho. But it’s hidden from your eyes. In above, it is not hidden, you simply copy/paste this and update as needed on your forms. Functions are accessed <strong>globally</strong>.</p><p>And you would map the VBA code to a button, correct? Yep, that is what <strong>update_year(item) </strong>is used for.</p><p>We do the same in here as a part of <strong>Orders</strong> Form, with Python (also accessed <strong>globally</strong>):</p><pre>def update_year(item):<br>   ... logic here....</pre><p>So there you have it. A quick touch base for the <strong>User interface</strong>, <strong>database</strong> and the <strong>logic</strong>. The rest?</p><p>Dashboards? Copy/paste, adjust.</p><p>Pivot table? Copy/paste, adjust.</p><p>PO Chart? Copy/paste, adjust.</p><p>Authentication? Copy/paste, adjust.</p><p>There are <strong>no code </strong>Filters on this App, Reports are Excel “look alike” templates from LibreOffice (also available on Windows 10/11 App Store), etc. Similar copy/paste and adjust.</p><p>Validation can be JavaScript or Python, Help can be integrated (see API Call ? on Catalogs).</p><p>Overall time for complete V2 was about 20 hrs.<br> <br>Happy to answer any questions and good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97ec8b73a217" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ocean of Web applications and Tropical island of Jam.py]]></title>
            <link>https://medium.com/@ljudevitperi/the-ocean-of-web-applications-and-tropical-island-of-jam-py-d86075232b1c?source=rss-f411ba59a6ca------2</link>
            <guid isPermaLink="false">https://medium.com/p/d86075232b1c</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[jampy]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ljudevit Perčić]]></dc:creator>
            <pubDate>Tue, 22 Jan 2019 09:31:32 GMT</pubDate>
            <atom:updated>2020-01-16T03:18:19.323Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Ocean of Web application frameworks and Tropical island of Jam.py</h3><p><em>I am a ‘would be’ developer.</em> To be more precise, as an engineer, I have a particular problem on hand and hoping to develop a Web solution for it with no recent developing experience what so ever. Sounds familiar?</p><p>To use the conversation from <em>FaceBook</em>:</p><blockquote>“I mean, modern dev role it’s already full with a different hype. Before yesterday we all did Angular + Rest Framework, yesterday React is coming and today GraphQL on Django GRaphite with React + Redux”. — Denis Viklov, Django Dev</blockquote><p>Let’s face it, I can’t understand what this all means. It’s like a Klingon language to me, or better, an programming language, pardon the pun.</p><p>I can easily open the Microsoft Access, create some tables, make a few forms and hopefully find some Visual Basic code on the Net to do some simple tasks. With or without minimal effort in changing the code. Simply because I have no time at work to spend on learning huge technologies.</p><p>Is that too much to ask?</p><h4>Micro frameworks? Full stack ones?</h4><p>Again, the Ocean of frameworks and choice. Here is the thing, I’m scared of typing something in some sort of prompt or console.</p><p>It does look like the micro frameworks are just <em>atoms</em> for building the molecules with a lot of typing. Do I really need atoms to build the Eiffel Tower? At least Tower in my eyes.</p><p>On the other hand, full stack frameworks are like <em>organisms</em>, built by many molecules. What happens when some part of organism is sick? Will my tower collapse?</p><h4>Open Source? Closed source?</h4><p>Can’t care less, to be fair. If something costs US$100k, that might be the issue, never worked with that expensive software though. The support for closed software might cost, providing you get the support in the first place. My experience is that the best support you get from the original developers. Which probably means open source, but I did have a good experience with the closed one as well. For which I’ve paid US$20–30.</p><h4>Models? Views? Controllers?</h4><p>No idea what that is. Why do I need MVC anyway? I really have no time to study software engineering. Did not need one when built my first MS Access office application, do not need one now ;)</p><h4>So, what do I need?</h4><p>My application will use a few database tables, so would be great to have some sort of authentication, reports, maybe even auditing or history of changes made in the database. Which database you might ask? Don’t care really. Just gimme whatever.</p><h4>Batteries included?</h4><p>No idea what that means for my application. It’s not like I’m building a new NASA web site, or blog, and do not remember good old MS Access having batteries.</p><h4>Assuming Python than?</h4><p>Yes, why not?! It does open a question of Python 2 or 3. With Access analogy, that would be 2002 or 2013 version. Latter the better.</p><p>I do have some PHP experience from the days when PHP was not object-oriented full blown programming language. Still remember the PHP acronym, “Personal Home Page”, latter known as “hypertext preprocessor”. Yes, I’m that old, and object-oriented scares me. Have no clue what polymorphism or inheritance is.</p><h3>Welcome to Tropical Island of Jam.py</h3><h4>Let’s get the hands dirty.</h4><p>Till now, I’ve learned that most of Python applications are installed with <em>pip install</em> command following the <em>application name</em>.</p><p>No surprises here, <a href="https://jampyapplicationbuilder.com/">Jam.py</a> does that:</p><pre>pip install jam.py</pre><p>There are no dependencies at all, nothing to worry about. Looks like the Jam.py Developer decided to place them in third_party folder for your convenience. I see only werkzeug, pyjsparser and six. Not bad. It does open a question of updating the dependencies, but that’s not my problem. Same with any software I guess.</p><p>Next, I create some folder and, surprise, surprise, I need to open a prompt, or a console in Linux world, and navigate to the same folder.</p><p>Need to type into the console (<em>scary</em> stuff):</p><pre>jam-project.py</pre><p>Gosh, something must happened. But did not see anything! So, I check the folder again and, viola! Something was created:</p><pre>/<br>    css/<br>    js/<br>    img/<br>    reports/<br>    static/<br>    admin.sqlite<br>    server.py<br>    index.html<br>    wsgi.py</pre><p>Than I run the Application:</p><pre>server.py</pre><p>Unfamiliar stuff showing on the screen, indicating that something happened again:</p><pre>* Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)</pre><p>This is where the <em>scary</em> stuff ends. No more <em>console</em> work today. Or ever. But never say never.</p><h4>Hands clean as they can!</h4><p>Looks like I need to open the Application Builder, where only the nice stuff is happening. No more console, yay!</p><p>Type this into the Browser:</p><pre>http://0.0.0.0:8080/builder.html</pre><p>And instantly the App is showing with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*DQc11UvF1v6CRJLiqxUkgA.png" /></figure><p>I select English and proceed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*N3MAepWGPJIks2GIB1qZKg.png" /></figure><p>Sure, classic tutorial CRM application will do for this purposes, as well as sqlite3 database, why not. In instant the Application Builder starts:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2AJXTiOCBpCumc9YNBHphw.png" /></figure><p>So is that all? Do I need to do anything else before proceeding?</p><p>Sure. The Application can be accessed on below address in the Browser:</p><pre>http://0.0.0.0:8080/</pre><p>It’s pretty blank for now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xQzbB1kavpVYuH4YSzS-PQ.png" /></figure><p>By click on Task I can select the Application name, and change it to something else:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D8ZD1vyGelTzhjJjV1jaJg.png" /></figure><h4>Digging deeper!</h4><p>Hmm, that looks easy to me, don’t you think? Jam.py style, love it! Would you think the Application Builder has similarities with Borland Delphi? Nah, too young to remember, sorry.</p><p>I’m ready now to make some tables, who wouldn’t ?!</p><p>The Developer decided to call this part a Catalogs. There is a Journals too. Hmm, must be Accounting background, luckily my wife is an Accountant.</p><p>So I go to Catalogs/New:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KU4Zfpdq5Ny_hjTwcRMvLA.png" /></figure><p>God, this will take a while, need to create a Table with few fields. Not so scary though. Opted for Customers table name, sure it’s visible, why not! Soft delete? Not sure, better leave it as is, might self destruct. Primary key sounds familiar, deleted flag, hm, not so much:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bWI8_YbOpBdtlWqCUBxARA.png" /></figure><p>Usual stuff here, my MS Access experience is worth 2c after all. Lookup? Interface? No clue for now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*x_XuE7vAUSM5IepiKGa4FA.png" /></figure><p>So, all good I recon! I click OK, nice, Ctrl+Enter does work, fancy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5qU4HkJoNOPV6opYvQZTow.png" /></figure><p>And refresh the Application page in second Browser tab visiting:</p><pre>http://0.0.0.0:8080/</pre><p>What I see is just fine, even better when I try to create a new record! The LastName was set to Required, hence the Warning in red color!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fSYNgTz8DRgPdgBdL3u_DQ.png" /></figure><p>I think I can manage that! Not so scary after all!</p><p>And did not type a single line of code…Interesting.</p><p>Shall we continue?</p><p><em>If you find any errors, or feel any need for improvement, let me know in your comments below.</em></p><p><em>Have you worked with </em><a href="https://jampyapplicationbuilder.com/"><em>Jam.py</em></a><em>? Let me know your experience in comments.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d86075232b1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>