• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

I want to make a task scheduler/calendar/reminder for myself.

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys,

I would like to make a task scheduler/calendar/reminder for myself.

For example, I would like to make a GUI where I can choose the times I want to complete something by.

Let's say I have to buy eggs by 2 days so I set that up in my GUI.

What I assume I'm going to do is just create a GUI first and then start coding the logic.

I'll do the logic first then the GUI.

However, I don't know how I would save my data.
For example, when I start up the app again (let's say one day later) I still want to see the reminders I posted a week ago and the times etc.
How would I go about this?
 
Saloon Keeper
Posts: 9731
80
Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Richard Gonzales wrote:What I assume I'm going to do is just create a GUI first and then start coding the logic.


No, that's exactly backwards. Make the business logic and wrap it in a console interface. This is the easiest way to debug the logic without the complexities of a GUI. Then when the logic is all debugged strip away the console UI and replace it with a GUI.
 
Richard Gonzales
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Carey Brown wrote:

Richard Gonzales wrote:What I assume I'm going to do is just create a GUI first and then start coding the logic.


No, that's exactly backwards. Make the business logic and wrap it in a console interface. This is the easiest way to debug the logic without the complexities of a GUI. Then when the logic is all debugged strip away the console UI and replace it with a GUI.



Thanks for the input!
I'll do that instead
 
Saloon Keeper
Posts: 26281
186
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Incidentally, there's a universal data standard format for calendar/scheduling. It's used by Android, Apple devices, Google Calendar, the Linux Evolution application (equivalent to Microsoft Outlook), and probably several Microsoft apps.

It's a fairly simple text file form, and for the Apple version at least, it's called "iCal". You should be able to find details on the Wikipedia.

So if, for example, you created a desktop GUI scheduler app and you wanted it to publish appointments via Google Calendar to your phone, you could just create an iCal text and upload it to your account on calendar.google.com.

It's really handy for those of us who have absolutely no proper concept of time, because everything is set up to synchronize with everything else.
 
My cellmate was this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic