Displaying 1 result from an estimated 1 matches for "postcodeanywhreservice".
Did you mean:
postcodeanywhereservice
2006 May 22
0
General path question
...of request...). I put it in the
initialize definition of the postcode_controller. I beleive it should
not be in there but can not find a best practise for initialization.
Basically, if it can be scalable, I want to define each def in the
postcode_anywhere_service to be self called. So I could use
PostcodeAnywhreService.getAddress(postcode) for exemple without
instantiating it each time. But for that I need to instantiate the
class a first time before calling the above. What is the best solution
to do so? Will it be scallabe?
Thanks a lot for any comments, tutorials ect...
Carl-Gustaf Harroch