PDA

View Full Version : Houston we have upload !!!


devbobo
Mar-10-2005, 09:07 PM
http://dgrin.com/images/smilies/clap.gifhttp://dgrin.com/images/smilies/clap.gif

Finally got uploads working http://dgrin.com/images/smilies/icon10.gifhttp://dgrin.com/images/smilies/icon10.gifhttp://dgrin.com/images/smilies/icon10.gif

David

Nikolai
Mar-11-2005, 05:13 AM
http://dgrin.com/images/smilies/clap.gifhttp://dgrin.com/images/smilies/clap.gif

Finally got uploads working http://dgrin.com/images/smilies/icon10.gifhttp://dgrin.com/images/smilies/icon10.gifhttp://dgrin.com/images/smilies/icon10.gif

David
So, what was the main problem? Just curious..

Cheers!:1drink

devbobo
Mar-11-2005, 12:08 PM
So, what was the main problem? Just curious..

Cheers!:1drink
The main problem was understanding!!...i had to create the multi-part form data manually and i wasn't really sure how.

Gotta love the internet.

Nikolai
Mar-11-2005, 12:24 PM
The main problem was understanding!!...i had to create the multi-part form data manually and i wasn't really sure how.

Gotta love the internet.
Pretty much all SE xml/http stuff is done manually.
Hence under 600Kb exe, which is pretty fast, too:-).
Importing something like DOM as TLB (early binding) would make it possibly incompatible and bloated, doing late binding would make it slower..

Gotta get your hands dirty if you want the results:-)

Cheers!:1drink

devbobo
Mar-11-2005, 01:11 PM
All my other XML-RPC calls were done by using a standard interface that comes with Mozilla.

At present, my jar file is about 18KB, or about 100KB expanded. But I haven't done much optimisation.

David

Pretty much all SE xml/http stuff is done manually.
Hence under 600Kb exe, which is pretty fast, too:-).
Importing something like DOM as TLB (early binding) would make it possibly incompatible and bloated, doing late binding would make it slower..

Gotta get your hands dirty if you want the results:-)

Cheers!:1drink

Nikolai
Mar-11-2005, 03:46 PM
All my other XML-RPC calls were done by using a standard interface that comes with Mozilla.

At present, my jar file is about 18KB, or about 100KB expanded. But I haven't done much optimisation.

David
Does it mean there has to be java support installed on the client's machine?

onethumb
Mar-11-2005, 11:04 PM
Does it mean there has to be java support installed on the client's machine?

FYI, approximately 96.39% of those who browse smugmug have Java. So you're probably golden.

Don

Nikolai
Mar-12-2005, 09:33 AM
FYI, approximately 96.39% of those who browse smugmug have Java. So you're probably golden.
Don
Can I have you take a look at this issue (http://www.dgrin.com/showthread.php?t=7826), please?

Cheers!:1drink

devbobo
Mar-13-2005, 07:04 PM
I may be wrong here, but while jar files are typically related to java. A jar file is actually just an archive format like zip, cab, etc.

You can actually rename a jar with a zip extension and open it.

So for the stuff I am doing, no I don't think they need java support.

David


Does it mean there has to be java support installed on the client's machine?

Nikolai
Mar-13-2005, 07:20 PM
I may be wrong here, but while jar files are typically related to java. A jar file is actually just an archive format like zip, cab, etc.

You can actually rename a jar with a zip extension and open it.

So for the stuff I am doing, no I don't think they need java support.

David
The reason I'm asking is that 100Kb of yours is a fairly small deployable. Unless you do it in K&R C-style (or console app), windows exes are usually pretty hefty..
The only option to do a lot of things in a such a small package is to rely on some sort of a runtime support (windows host, VBrun, Java, .NET, PHP, Perl, etc.) ...
Just curious..:scratch

devbobo
Mar-13-2005, 07:28 PM
The reason I'm asking is that 100Kb of yours is a fairly small deployable. Unless you do it in K&R C-style (or console app), windows exes are usually pretty hefty..
The only option to do a lot of things in a such a small package is to rely on some sort of a runtime support (windows host, VBrun, Java, .NET, PHP, Perl, etc.) ...
Just curious..:scratch
The reason why it's so small is that it's a Mozilla Firefox extension. So obviously it needs Mozilla Firefox installed, then it just uses javascript, xml and existing mozilla interfaces.

It's pretty cool stuff.

David

Nikolai
Mar-13-2005, 07:59 PM
The reason why it's so small is that it's a Mozilla Firefox extension. So obviously it needs Mozilla Firefox installed, then it just uses javascript, xml and existing mozilla interfaces.

It's pretty cool stuff.

David
Gotcha:thumb