[Video] Coding Weekly #2
Good luck slogging your way through this one. Nearly two hours of coding in the trenches—and it's not always pretty. In fact, it is downright ugly at some stages....
For those who persevere, the reward is seeing several powerful and fairly complicated Servoy features being implemented that don't have a whole lot of documentation or examples in the public space.
My task is to file stream a directory of files from the server, parse their contents for specific meta data, and create records based on this meta data.
I live the entire time in the Servoy method editor and debugger and cover the following topics:
- file streaming with callbacks and monitors
- file management and error checking
- regexp for file processing and pulling out values
- managing persistence with form variables
- passing control between multiple threads
- object creation and processing
- foundset processing three levels deep
Since this session was done on the open source "Sutra CMS", you can download all the code at http://www.data-mosaic.com/sutra-cms
Due to YouTube 15 minute upload limit, in 10 parts:
Part 1: http://www.youtube.com/datamosaic#p/u/9/Xp7b-x2j03c
Part 2: http://www.youtube.com/datamosaic#p/u/8/ZRinv6jjYNA
Part 3: http://www.youtube.com/datamosaic#p/u/7/1im6nNaat4Y
Part 4: http://www.youtube.com/datamosaic#p/u/6/5dlmtMwMeTI
Part 5: http://www.youtube.com/datamosaic#p/u/5/yQrp_MkOzms
Part 6: http://www.youtube.com/datamosaic#p/u/4/zDn8bVO7glg
Part 7: http://www.youtube.com/datamosaic#p/u/3/RL9xs_sUxVA
Part 8: http://www.youtube.com/datamosaic#p/u/2/_pUGz3cmBWg
Part 9: http://www.youtube.com/datamosaic#p/u/1/RI7NhIWlQsg
Part 10: http://www.youtube.com/datamosaic#p/u/0/X7sTHdluEyg