damnit_ — 2013-03-25T21:58:46-04:00 — #1
Hi all! So I'm a first timer looking for an assist.. PHP and web design are by no means my forté.
Trying to build a panic-esque status board and am borrowing heavily for the foundation from a couple templates found on git. Now, on one hand I have a tasklist up that uses php, sqllite and ajax (also from git) that is working great. I have code that is supposed to pull data from it for use elsewhere but it doesn't want to work so far. Separately I have opsview core (based on nagios) doing some status monitoring that I'm sure there are APIs for. Finally I have a pbx in the office that I found documentation on APIs to pull data from. My goal is to tie these datasets into a snazzy board to keep me on top of everything with a quick glance. Weather stats, RSS etc would just be icing on the cake.
Now as I said, I don't code typically so I'm hoping I came to the right place for some hand holding and a lot of directing. I can post code I have so far or whatever, but mostly need guidance on how best to pull this off. It's so close yet so far away. Too many active projects leaves learning php fully an unlikely possibility.
starlion — 2013-03-26T07:05:14-04:00 — #2
My advice would be to prioritize and compartmentalize.
List out the things you want it to do.
As a subnote to those line items, define:
Inputs: (any data sources or user input required)
Outputs: (What you'd like to see come out the other end)
Doing this will generally give you an idea of what the code needs to look like - if you've been detailed enough, and logical enough in the order of things put down in your plan, you will quite often find you are literally taking your plan line by line and translating it into code.
damnit_ — 2013-03-27T19:34:57-04:00 — #3
OK. I made a mockup of my concept in an attempt to compartmentalize. However, I keep running up against the issue that I am simply just not a coder and don't even know where to begin with parsing the data I need. I've been crash-coursing PHP, AJAX, JSON pulls, APIs for the various datasets, etc etc and my head is spinning. At this point I know my inputs and outputs inside and out, but the code remains an enigma. Are there forums where people will simply assist in writing full code to suit?
system — 2013-03-27T20:42:51-04:00 — #4
There's no way people in here are going to write the whole thing for you. Why are you taking on such a project if you don't know where to begin?
damnit_ — 2013-03-28T07:09:55-04:00 — #5
Because I want it for my office, and I like a challenge. Why do you program? And I never said "write the whole thing", I thought this was a place experts hung out and if I show the codeset I need to pull data into then someone might help. I already have layout and modules, plus each of the datasets ready to parse. Thanks for the enlightened comment tho...
system — 2013-03-28T07:46:00-04:00 — #6
You did actually write: "Are there forums where people will simply assist in writing full code to suit?", so I was just responding to what you said.
starlion — 2013-03-28T08:38:50-04:00 — #7
As is often said in this forum; we will gladly point you in the right direction, if you come to us with an attempt already made, a specific question or problem, and code to show. We wont write it for you, but we can help you in your writing of it.