Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 26
Search took 0.04 seconds.
Search: Posts Made By: RickP
Forum: Project collaboration/ partnership 12-08-2012, 02:18 PM
Replies: 0
Views: 578
Posted By RickP
LF Designer for small golf tracker web app

http://mygolfscore-app.com/


I'm making this web app that can track a persons golf rounds and report back stats. The base of the functionality is already complete (I have a couple things left to...
Forum: JavaScript programming 12-08-2012, 01:59 PM
Replies: 18
Views: 1,059
Posted By RickP
They can create a "new" local storage concept...

They can create a "new" local storage concept that is async. Leave the old one in place. Or better yet just extend the new one so it's still backwards compatible.
Forum: JavaScript programming 12-03-2012, 07:10 PM
Replies: 18
Views: 1,059
Posted By RickP
Data reads just need to be asynchronous and read...

Data reads just need to be asynchronous and read at time of request. The standard can't worry about how people might mess up using the feature (not security but performance). A program on my desktop...
Forum: JavaScript programming 12-03-2012, 03:22 PM
Replies: 18
Views: 1,059
Posted By RickP
That's sort of my point. The browsers need to...

That's sort of my point. The browsers need to start acting more like operating systems, and javascript/html standard can accelerate that by pushing the standard to require more from these browsers....
Forum: JavaScript programming 12-02-2012, 12:54 PM
Replies: 18
Views: 1,059
Posted By RickP
Th standard/api should be considering the browser...

Th standard/api should be considering the browser as it's OS and should be exposing how you interact with all the same things the OS does in a similar fashion (hard disk, graphics card, sound card,...
Forum: JavaScript programming 12-01-2012, 04:05 AM
Replies: 18
Views: 1,059
Posted By RickP
Yeah but it's a client side download though like...

Yeah but it's a client side download though like dropbox. Doesn't count in my fantasy world :)



Data is stored on disk in some fashion. Making folders and such isn't a requirement with what I'm...
Forum: JavaScript programming 12-01-2012, 12:57 AM
Replies: 18
Views: 1,059
Posted By RickP
@felgall I just feel like there is so much...

@felgall I just feel like there is so much potential here but we paralyze ourselves with fear. I have to imagine there are ways a browser could protect us against such things. Prompt us for elevated...
Forum: JavaScript programming 11-30-2012, 01:26 PM
Replies: 18
Views: 1,059
Posted By RickP
I just feel like if the browsers worked in more...

I just feel like if the browsers worked in more of a sandbox mode and were more like OS's then what's the difference between installing a program, and navigating to a website that acts like a...
Forum: JavaScript programming 11-30-2012, 03:22 AM
Replies: 18
Views: 1,059
Posted By RickP
Unless I'm mistaken things such as GPS and camera...

Unless I'm mistaken things such as GPS and camera require some sort of proxy. That's not direct access to these things. The sandbox modes for native apps still have more freedom then web apps. This...
Forum: JavaScript programming 11-29-2012, 10:57 PM
Replies: 5
Views: 327
Posted By RickP
I changed btnCurrent.disabled to...

I changed btnCurrent.disabled to document.getElementById("btnCurrent").disabled and it worked now. Can't FF handle using the id like that directly? The other browsers seem to do just fine with that....
Forum: JavaScript programming 11-29-2012, 10:23 PM
Replies: 5
Views: 327
Posted By RickP
So it's saying btnCurrentRound isn't defined at...

So it's saying btnCurrentRound isn't defined at the line I try to set it's disabled property in the onready event. But it is defined.

Are you saying it works for you guys and you get no errors?...
Forum: JavaScript programming 11-29-2012, 09:37 PM
Replies: 5
Views: 327
Posted By RickP
Web app failing on firefox but works on others

I'm learning javascript and so I created an app to track my golf stats. This app uses local storage and is 100% client side (it never goes back to the server).

It works fine in IE (PC & WP7),...
Forum: JavaScript programming 11-29-2012, 12:36 PM
Replies: 18
Views: 1,059
Posted By RickP
javascript and hardware access

I'm new to javascript, but I'm learning fast and loving it. I'm concerned about the lack of hardware access javascript is allowed. Is there any movement to let it have full control just like a native...
Forum: Post a JavaScript 11-29-2012, 04:45 AM
Replies: 21
Views: 1,721
Posted By RickP
Library updated on front page: - Put library...

Library updated on front page:

- Put library in .js inside zip file on first post

- Added rnd_me's compression code to save space

- Added Delete() function. Parameters are similar to the...
Forum: Post a JavaScript 11-28-2012, 10:51 PM
Replies: 21
Views: 1,721
Posted By RickP
I think I'll try it with escape() and unescape()...

I think I'll try it with escape() and unescape() for all browsers. Should still get some good compression savings, but it will make the code more manageable. Today it's IE that doesn't work, tomorrow...
Forum: Post a JavaScript 11-28-2012, 08:44 PM
Replies: 21
Views: 1,721
Posted By RickP
Gotta love browser compatibility. Would it...

Gotta love browser compatibility.

Would it hurt any to call escape() and unescape() for all browsers?


Thanks for finding this also.
Forum: Post a JavaScript 11-28-2012, 06:51 PM
Replies: 21
Views: 1,721
Posted By RickP
It fails when trying to add to localStorage the...

It fails when trying to add to localStorage the following deflated value:

"‹®VÊLQ²:J9‰•©E@”¡£”œ_ZTœ
2jc"

I get "Invalid argument." Note there is a return character there so not sure if that's...
Forum: Post a JavaScript 11-28-2012, 06:05 PM
Replies: 21
Views: 1,721
Posted By RickP
It worked.

It worked.
Forum: Post a JavaScript 11-28-2012, 03:17 PM
Replies: 21
Views: 1,721
Posted By RickP
3. I could add this to my database library that I...

3. I could add this to my database library that I have here also. It would 100% abstract where the data is stored and retrieved from. I'm confused as to how this works though (again new to web...
Forum: Post a JavaScript 11-28-2012, 03:02 PM
Replies: 21
Views: 1,721
Posted By RickP
Updated the library code on the first post. ...

Updated the library code on the first post.

- Changed to stringifying an array of objects to local storage so parsing can also be done 100% by JSON

- Added TruncateTable function

- Added...
Forum: Post a JavaScript 11-28-2012, 02:25 PM
Replies: 21
Views: 1,721
Posted By RickP
1. This is scary. That defeats the entire purpose...

1. This is scary. That defeats the entire purpose of local storage lol. Stupid apple :(

2. That's why I made a library like this. The users didn't have to parse anything themselves. The library...
Forum: Post a JavaScript 11-28-2012, 01:46 PM
Replies: 21
Views: 1,721
Posted By RickP
When I parse the local storage stored as array of...

When I parse the local storage stored as array of JSON objects I don't get an array of objects, I get an array of JSON strings. Is that what I'm supposed to get or should I get an array of objects...
Forum: Post a JavaScript 11-28-2012, 12:41 PM
Replies: 21
Views: 1,721
Posted By RickP
Yeah, I agree. It does save my library from...

Yeah, I agree. It does save my library from having to do heavy lifting. I'm new to javascript so I wasn't aware JSON.parse() was able to do the whole array parsing thing. I plan on storing it as...
Forum: Post a JavaScript 11-28-2012, 12:35 PM
Replies: 21
Views: 1,721
Posted By RickP
Yeah I noticed this. My first intention of usage...

Yeah I noticed this. My first intention of usage for this is for a golf score mobile website so the data is going to be very small. I want to use local storage because some golf courses are way out...
Forum: Post a JavaScript 11-28-2012, 12:29 PM
Replies: 21
Views: 1,721
Posted By RickP
But it has to be persistent. To do that I'm using...

But it has to be persistent. To do that I'm using local storage and local storage can only store key/value as strings not objects. So at some level this has to be stored as a string and split to pull...
Showing results 1 to 25 of 26

 
Forum Jump

All times are GMT +1. The time now is 11:57 PM.