JRJurman / automated-ticket-printer

This project is an automated solution to print tickets and items as they get assigned.
MIT License
11 stars 1 forks source link

#overEngineered #20

Open 7imbrook opened 8 years ago

7imbrook commented 8 years ago

:P

JRJurman commented 8 years ago

I'm starting to think that this system design has some inherit architecture and use-case issues. I'm contemplating creating a less generic system, that isn't as automated.

Something possibly along the lines of "give the client a url, it creates the ticket, and then the client sends the ticket to a web-server (connected to the printer)" I'll sketch out a design, and attach it to this issue.

JRJurman commented 8 years ago

point-of-tickets architecture

This is the design for a chrome extension driven application, where DOM is scrapped off the page you're on, to be sent to the printer.

It's nice because the server does not have to deal with auth, or finding the ticket... You're already on it! The biggest con is that it is doing document selection to find elements on the page. Also, finding the server IP is not trivial.

But, I've done a proof of concept, and will be releasing publicly soon! @jmp3833, if you want to help, I can add you as a contributor. Although, this design is a little less friendly if you don't already have the hardware (although, it's should beeasy to substitute the real printing for console printing).

jmp3833 commented 8 years ago

@JRJurman Sure thing. Feel free to reach out once some issues are filed