Question to Sigmah developers: do I have to use Presenter or Service class for...(ref.iss852)

14 views
Skip to first unread message

Alex Karpov (Seal98)

unread,
Jun 13, 2017, 3:45:35 PM6/13/17
to Sigmah developement
I have implemented next event date calculation (business logic) and event creation cycle in the Presenter class (CalendarEventPresenter.java).
During implementing next event date calculation I’ve discovered that  GWT (the client part) does not support using  standard java.util.Calendar package.
So I've implemented next date calculation without java.util.Calendar for repetitive Daily events.
I see that for Weekly and Yearly events it is possible to use the same way but calculation will be more complex (due to ‘manual’ calculation and  not using possibilities of java.util.Calendar).
It seems to me that using GWT (the client part) for next event date calculation (business logic)  is not quite correct from the point of view of application architecture.
So my question to Sigmah architect\developers is:
Is it correct - to implement the calculation of the days of recurring events on the GWT frontend (in CalendarEventPresenter) or maybe it would be better to move the calculation to the application backend - in class PersonalEventService?

Olivier Sarrat

unread,
Jun 20, 2017, 3:48:59 AM6/20/17
to sigma...@googlegroups.com
Hi Alex,

I'm not an expert in this, but what I have understood from my readings on this subject is the following:
I hope this provide enough information for you.


I would have another suggestion. At the end of improving the calendar, is there in your opinion an opportunity to try to integrate a library like gwt-cal ?

Have a nice day !

Olivier.
--
You received this message because you are subscribed to the Google Groups "Sigmah developement" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sigmah-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

osarrat.vcf
Reply all
Reply to author
Forward
0 new messages