473,324 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Peer review, developer input...

Hello,

I work at a design studio as the lone programmer/scripter. I would love
to get some input from some actual developers for a change, on a project
that I've been working on:

http://www.unfocus.com/Projects/HistoryKeeper/

The script creates history points with bookmarkable strings from
javascript so that AJAX (actually it was originally for flash, but it
will work for AJAX too :-) ) apps can utilize the back button, and
points within the app can be bookmarked or shared.

These are some specific areas regarding it's implementation:

1. Is a singleton (I think that's the patter I used) appropriate in this
case?
2. It has some methods for adding listeners (an implementation of the
observer pattern?) but I'm not sure the interface is quite right. I'd
love some input on that.
3. I've been told elsewhere (where it was off topic) that the way I've
used an array to store the listeners is an abuse of the array type,
since I'm mostly using the features of the inherited object class
instead of the features of an array. I'd love to hear about some
alternatives - preferably something that lets me keep the code base
small. I found an example here:
http://devedge-temp.mozilla.org/tool.../index_en.html
but it seems like overkill for the tiny codebase that I'm working with.
4. Any other hints or constructive criticisms are welcome.

Thanks,

Kevin N.
Jul 25 '05 #1
1 1241
Kevin Newman wrote:
Hello,

I work at a design studio as the lone programmer/scripter. I would love
to get some input from some actual developers for a change, on a project
that I've been working on:

http://www.unfocus.com/Projects/HistoryKeeper/

The script creates history points with bookmarkable strings from
javascript so that AJAX (actually it was originally for flash, but it
will work for AJAX too :-) ) apps can utilize the back button, and
points within the app can be bookmarked or shared.

These are some specific areas regarding it's implementation:

1. Is a singleton (I think that's the patter I used) appropriate in this
case?
2. It has some methods for adding listeners (an implementation of the
observer pattern?) but I'm not sure the interface is quite right. I'd
love some input on that.
3. I've been told elsewhere (where it was off topic) that the way I've
used an array to store the listeners is an abuse of the array type,
since I'm mostly using the features of the inherited object class
instead of the features of an array. I'd love to hear about some
alternatives - preferably something that lets me keep the code base
small. I found an example here:
http://devedge-temp.mozilla.org/tool.../index_en.html
but it seems like overkill for the tiny codebase that I'm working with.
4. Any other hints or constructive criticisms are welcome.

Thanks,

Kevin N.


No takers? Hints? Comments? :-)
Jul 26 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jan Roland Eriksson | last post by:
I'm posting a revised version of the meta FAQ for this NG. Beware that there are a few links in there that does not have a resource available for them yet but, over and all, this following document...
6
by: Jan Roland Eriksson | last post by:
For those interested, read and rip it up as you wish :-) ===== Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: twice a week (mondays and thursdays) Last-modified: July 20, 2004...
0
by: Rick | last post by:
Hello, I'm six months into asp.net/c# and enjoying it. A couple weeks ago I needed to write a "simple" high performance counter, the short story is it turned into a mini project. Many lesson...
1
by: Rick | last post by:
Hello, I'm six months into asp.net/c# and enjoying it. I needed to code a "simple" high performance counter... a couple weeks later and a lot of learning I think I did it. Many lesson lessons...
0
by: Larry Serflaten | last post by:
I am planning to share a Cards.DLL out on Planet Source Code and GotDotNet. But before I send it out to the public I would like to get a peer review to be sure it works as intended, and to avoid...
1
by: EoRaptor013 | last post by:
We have a situation almost exactly like that in the MS documentation vis a vis peer-to-peer replication. We have three servers and three user groups, one each in Chicago, New York, and Bermuda....
0
by: EoRaptor013 | last post by:
I have been trying for several days to create a peer-to-peer replication among three servers. I first created the publication on Server A, enabled it for peer-to-peer to peer on the publication...
21
by: Johan Tibell | last post by:
I would be grateful if someone had a minute or two to review my hash table implementation. It's not yet commented but hopefully it's short and idiomatic enough to be readable. Some of the code...
0
by: wickedrgb | last post by:
Hi Group I'M currently drafting up a new venture involving next generation Peer to Peer (P2P) technology. I would very much like to be introduced to a P2P expert developer - prefered C++....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.