Posts

Merry Xmas and a wonderfull 2021.

 To everyone I can reach through this route. A Merry Christmas and a prosperous, healthy and beautiful 2021. As of today I will start again with my old career as well as my new career as a mobile app developer. Hopefully with this year a prospect of ending the old career and a full-time new career. But I wish for each of you twice what I expect for myself. Thank you for the time you take to read my articles, im very greatfull. I'll see you in the next post. Do, believe and be Happy Stefaan

INTERLUDIUM: How do I study Flutter and Dart.

Image
 Hey everyone, Indeed, it has been a while since my last article, here in my Blog. The last 2 weeks I have done almost nothing other than studying. Back to the basics I had already done once. But now I have started studying purposefully. There is so much information available and it is all so interesting. But I carried a lot of information that is actually irrelevant. In order to be able to study in a more structured way, I split my studies into two groups. I read what is interesting but not directly relevant and I save it in a kind of information folder. And every article gets a tag from me. The tag tells me what it is about and where I could possibly use this information. But this group is not ready knowledge. The second group is knowledge that can be used immediately. How do I know what will end up in this group? You can read that below. To be able to lead the study you need a goal. Otherwise you don't really know what to study first, and which subjects to follow. The only way t...

Thinking & coding: Small but important code implementations.

I was still able to employ a short programming session on Sunday. Yes, it will be difficult at this time to quietly program a few hours apart. It is very busy at work and with the "limited" holidays coming up, the family and relatives are also taking a little more time. So I produced a few little things. I also expanded my database with a few documents to test scrolling in the eventScreen. Then I have tested my App in as many situations as possible. Overflow There appears to be an overflow in the Row widgets of the eventCards, If the administrator of the backend enters texts that are too long, there is a problem. Text space is fairly limited in the UI, so I had to make sure that the code catches these errors. The only way I could find that works the way I want it to is to package the Row Widget with a Container Widget. And start using the dimension properties of this widget. Now space is limited and the widget will trim the excess text. Device orientation I also locked the d...

Thinking & coding: making my code Null safe.

Image
Hey everyone, I was able to start a programming session today. In this session I have built in the necessary security features in my code. The errors and exeptions, I wanted to catch today were the errors that were possible reading my data from the FireBase backend. And there were a few. Protect against reading non-existent database elements. In others words, the Null are intercepted. Catching a possible empty String, and this with the NetWorkImage Widget. In such a way that no more exception errors are possible when offering an incorrect or empty URL. Just a brief overview. My app only reads data. No data is written from the app to the backend. The backend is therefore managed by an administrator (the customer), who completes the database. In this case, therefore, a list of events and the data of these events. So I also have to secure the app against possible human error. I know you can secure that through the backend by building a structured portal that catches these errors. But then...

INTERLUDIUM: Time for the basics. To reflect for a moment.

Image
Hey everyone. For the readers wondering where my next post with code goes. Well here is the answer. From scratch I studied Dart this week. I bought a few basic Dart courses. I had certain questions that I had been asking for a while. And I thought let's start from scratch again. A stiff neck I can say from experience that even after a certain time it is good to repeat the basics. And that not only in programming, but generally in life. It puts our feet back on the ground. My father said, " whoever looks at the tops of the trees every day will get a stiff neck." And that is actually saying in a playful way. If you forget to look at the basics, it is painful to look at the basics in the long run. In life, it is also important to keep in touch with the basics on a regular basis. For example in a relationship. Check deep inside why you fell in love with your partner. Or take a look back at why you made a certain good choice in life and not just the bad ones. This is also imp...

Thinking & coding: Studying on FireBase, ANSWER

Hi Hi. It was a tough week last week. I have invested a lot of time in research. And write very little in code. I have learned a lot. A serious study of error codes, as you can read in my previous post. In this post I will try to answer the problem I had with bulk data upload from the FireStore Database. First and foremost, I have been staring at the FireStore Console. Now I have also looked at the 'Google Cloud Platform' and its console. So I found a lot more information there. What did I learn. You cannot place images directly in the FireStore database, but you can place the link to the images. Which is then back in place, stored in the DataStorage. That is the method that I see everywhere. So we are so far on that. Furthermore, I cannot directly upload a large data file to the firestore without a detour. As I found in the documentation and also on Youtube and other information sources. I found the most explanation on the Youtube channel of 'Retroportal Studio' . Many...

Thinking & coding: I'm so greatful!! THANK YOU

Image
Hey everyone. What an emotional day. This morning I wanted to start a programming session, and then half of my software turned out not to work anymore. Without changing 1 line code. What was the problem. I could no longer read my data from the FireStore backend. I got a huge error. An Exception. Complete panic, unbelievable. I didn't get any head or tail. I have read this message countless times and did not understand it. It almost made me depressed, it controlled my day emotionally. And I have to admit this time it was really over my head. I had no choice but to give in to myself and ask for help from a good friend who has supported me since day 1. Max Weber from Flutter Explained .  I also threw the problem into the Matrix via Twitter. And several of my contacts responded very quickly. And offered possible solutions. Thank you all, and a super thank you to young developer / friend " Da Bot ". I have prepared a document with the error code as you can see above. I then sh...