Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bmw5002

Pages: [1]
1
Development / Couple questions about developing a module
« on: February 26, 2010, 05:39:35 pm »
So I was able to create a module with a tab and view by following a guide here. Now I want to pull some data in from an external source and display it in the view. I did that. One problem was I was using an external class i wrote for pulling in the data. Is there an easy way to include that class? I tried include in my controller file, but the autoloader somehow overrided it and bitched about something. So then I figured out putting the path to the classfile in the autoloader cache file. That worked. Is there a better/different way of doing that?

So I was able to get the external data to display in the view, but my next thing is how can I include a link or button in the view that will refresh the data?

Also how would I go about using the db to store and retrieve information? I'm trying to do all this in the cleanest manner and I imagine using any existing frameworks from feng would keep it clean so... problem is lack of developer documentation - i'm so-so at reverse engineering but there are ALOT of files here and im not on the up-and-up about php and js debugging and stepping though if thats even possible at all.

some kind of plugin architecture would be ideal! i feel like adding things is just one HUGE hack! unless there is one and i don't know about it. are there any plans or framework being implimented for plugins? i love the app though, it looks great and does about 60-70% of what i need already. i'd like to build upon it though to integrate some kind of accounting & invoicing, and pull in order status from my supplier's website as i was explaining earlier.

Pages: [1]