Page 1 of 1

Beginner !!

Posted: Fri Mar 21, 2025 10:35 am
by Richard60
Hello everyone :D

First of all, I'd like to introduce myself, Richard, 49 years old, who wants to learn to program in BASIC.
I'd like to learn with a software project, hopefully not too complicated, in which I could :
  • Customer list
  • Have a list of jobs / customers
  • update one or more quotes in the form of a list assigned to worksites
  • Assign purchases by estimate
  • Allocate hours / estimate
  • create customer/quotation/worksite reports
So yes, I know I could probably do this with access without difficulty, but I'd like to get my head around it and learn something new that'll get me excited.

I'd be happy to receive advice on formatting, code, and probably other elements I haven't thought of yet.
What about a database in text format or on a mysql server?

See you soon

Richard

Re: Beginner !!

Posted: Fri Mar 21, 2025 1:13 pm
by PBJim
Welcome to the forum Richard and I hope your journey with PureBasic is a fruitful one. To help you get into it, I suggest getting to know programming and PB in more depth, starting with simple utilities and applications, then later on introducing some database techniques. With the benefit of that steady learning process — and once you feel you're ready — start your intended project, otherwise embarking on something substantial, as you've set out, might be quite a lot to accomplish all at once.

As your intention is ultimately to develop a business application, you could nevertheless focus on creating a GUI screen. There are some online videos, some quite helpful even if they don't give you quite what you aim for. Hope this helps you a bit more anyway.

Re: Beginner !!

Posted: Fri Mar 21, 2025 2:12 pm
by Caronte3D
Welcome aboard! :D
Take a look to this old (and funny) web page:
https://www.ninelizards.com/purebasic/index.htm#top

Re: Beginner !!

Posted: Fri Mar 21, 2025 3:36 pm
by Richard60
thank you both for your feedback :D

Re: Beginner !!

Posted: Fri Mar 21, 2025 4:50 pm
by Axolotl
Hi Richard60,
Welcome to Pureebasic and the Forum.
Unfortunately, we don't know your programming background. Of course, it depends on how big the starting project can/should be.
So if you already know other programming languages, all you have to do is familiarize yourself with the special syntax and you're good to go.

From my POV, this forum is a good source for example codes. Just have a look at the different examples and try to create your own coding style guide.
There are also very good tutorials on the topics you are looking for (e.g. on sqlite)

However, you have to pay attention to the age of the posts. Not all (very old) codes still run under the current version. But the compiler will help you with that. Speaking of versions, if you are working with the demo version, some examples will of course not work.

The best for last/now.
No matter what you ask, you will always get competent help here.

Happy Coding.

Re: Beginner !!

Posted: Fri Mar 21, 2025 5:21 pm
by skywalk
Your app is well within the Purebasic wheelhouse.
Stick to database, not pile of text files data.
Study the vector drawing lib + canvasgadget to output your custom reports.
Or more tedious, consider webviewgadget to use html/CSS/JavaScript rendering of your data reporting.
Study event loops + postevent for threaded app.
No use in building complicated app and your users watch an hourglass after clicks.

Good luck!