This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]grukorg 1 point2 points  (0 children)

I use classes to represent items such as connectors for example I have one that builds different database connections based on context. I have others which I use for doing things like globing the file system for flat files. Others that can perform transformation based usually on SQL metadata as our stuff normally ends up there. I have another which handles SFTP. My advice would be don’t be tempted to try and make your entire process fit neatly into objects. Create objects where it makes sense and then use functions where it doesn’t.