[fpc-devel] Rather large flaw in TJSONConfig component

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Jun 21 16:35:02 CEST 2010


Op 2010-06-21 16:29, Henry Vermaak het geskryf:
> 
> You can create a class that wraps all the json operations, and
> therefore handle concurrency in one place.

Correct, that's one possible solution like I mentioned with the Singleton
design pattern. But this still leaves the door wide open for others to have
this problem because the actual TXXXConfig component doesn't do the
"singleton/concurrency" by itself - and not many developers seem to know
about this issue or know about the Singleton design pattern.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list