I'm working on a project, having taught myself programming over the years, in PHP and Javascript/HTML5. I'm finding my biggest problem isn't the actual coding, but program architecture. How do I build something that isn't just functional for my own needs, but that others can use and understand.
I've started fresh 5 or 6 times now, and I'm definitely getting closer to "right" but it's still a battle. I think part of my struggle lies in trying to get used to the asynchronous aspect of AJAX. It definitely requires a different approach to handling data and presenting it to the user.
I'm thinking I may need to find someone else to take my prototype code and turn it into something more structured and friendly, while I focus on the business side of it. Any suggestions from you or others about basic application structures would be much obliged.
A pretty basic mobile messaging application. Data is stored on a server, options are displayed, content is loaded and sent, etc, etc. Nothing really special.
Some of my biggest hurdles faced so far:
- After days of banging my head against a wall, I learned HTML5's sessionStorage doesn't actually store objects - just single key/value pairs.
- Minor jQuery typos that didn't register an error, but never did what it was supposed to.
- (ongoing) Dealing with jQuery Mobile weirdness when loading dynamic content when an AJAX call has yet to complete.
I'm also looking at incorporating the PhoneGap framework so I can access some of the mobile hardware. We'll take that when we get to it.
I've started fresh 5 or 6 times now, and I'm definitely getting closer to "right" but it's still a battle. I think part of my struggle lies in trying to get used to the asynchronous aspect of AJAX. It definitely requires a different approach to handling data and presenting it to the user.
I'm thinking I may need to find someone else to take my prototype code and turn it into something more structured and friendly, while I focus on the business side of it. Any suggestions from you or others about basic application structures would be much obliged.