NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mjost

Pages: [1]
1
Your Views and Comments / Finding my own messages
« on: January 22, 2014, 02:03:08 AM »
Hello !

Is it possible on this forum to see (find or filter) just my own topis and responses to them? How?

Best regards.
  Matjaz Jost

2
Web Server - Ask For Help / Mobile screen resolution
« on: August 06, 2013, 03:39:10 AM »
Hello !

It's probably not the NetTalk problem but anyway - I am working with NetTalk 5.44. I'm working on project where most clients will be mobile phones, mostly with Android. I'm doing my pages with html5 and serving them via NetTalk.
I'm positioning the screen elements (mostly buttons) with css and javascript so that the complete screen covers 320 x 480 pixels as is also the resolution of my testing smartphone (Sony with Android 2.3). The problem is:
- when I try the app with a browser on desktop PC, the page is about 320 x 480 pixels as programmed
- when I try with the browser on my smartphone every page starts reduced by a factor of about 2.5 (to  about 140 x 200 pixels). So I (the user) have to expand it to the full screen by finger gestures every time to be usable which is annoying and probably unacceptable for normal clients.
What can be done about this? Is this a html or the browser problem?

Thank you in advance for any help.

Best regards.
                        Matjaz Jost


3
Web Server - Ask For Help / NetTalk logging
« on: August 05, 2013, 04:53:09 AM »
Hello !

I'd like to log the outgoing traffic of NetTalk web server, I mean the complete html code that is sent to the web client. I couldn't find the functionality in templates. If it does not exist in which embed I could write my own code to do the logging?
I'm using NetTalk 5.44.
Thank you in advance for any help.

Best regards.
    Matjaz Jost

4
Web Server - Ask For Help / Re: Windows CE, very slow
« on: November 09, 2012, 02:41:41 AM »
Hello Bruce !

Thank you for the answer. This was now the major breaktrough for me.
Yes, the Javascript is bound to Net:c:head.

I thought I would have to parse the whole .htm file to insert my own html code. Now I understand the trick with Net:FunctionName and can start the real work with my app.
I will basically get the scans from terminal and then embed the data from server based on the scan to another page displayed on the terminal.

When digging through code I've found that every call to SendPacket routine sends a separate packet to the client. There can be many SendPackets for one page. Doesn't this slow the communication?

Best regards.
            Matjaz Jost

5
Web Server - Ask For Help / Re: Windows CE, very slow
« on: November 08, 2012, 02:10:24 AM »
Hello Bruce !

I'm back with my project for Windows CE where I don't want't to have javascript because it is slow.
I've made a small framework of 6 static pages and a nettalk app which serves them. I've found that if I have the <!-- NetWebServer --> tag included in any of the pages the whole jQuery framework is loaded which is exactly what I don't want. Without <!-- NetWebServer --> tha pages are served fast and OK.

The problem is that I can't find where (to which embed) to place my parsing code. It should be somewhere where the page is loaded to a string, which I would parse and then let it again to be sent to the client. ?

I've found the client IP address where you told me. It can be useful for me because I will have a fixed number of clients with known IP addresses - the handheld terminals in the customer's company network. I will probably use it instead of sessions or some other differentiation of clients.

I hope you will help me to the end - till I get my project work.
When I'm finished I will publish the basic framework open if anybody finds it useful.

Best regards.
                               Matjaz Jost

6
Web Server - Ask For Help / Re: Windows CE, very slow
« on: September 17, 2012, 01:46:33 AM »
Hello Bruce !

I've decide to go this way. I can really do my project with 2 or 3 pages.
My idea is to parse the static .htm files and insert necessary data to them just before they are sent back to client . It looks to me that I could do all this in the WebHandler procedure alone. But after digging in the docs including the book 'Building Web Apps...' and trying with code I couldn't find the right way. So my questions:
- Is my idea OK
- In which embed to do my parsing: after the page is read from disk and before sending it to the client
- In which variable (property) is the text that is then sent to the client
- Where can I get the IP address of the client

Thank you for helping.
Best regards.
                            Matjaz Jost


7
Web Server - Ask For Help / Re: Windows CE, very slow
« on: September 10, 2012, 02:48:18 AM »
Hello Bruce !

What would I have to do to switch the jQuery and css off and use NetTalk as an engine to work with plain HTML (web 1.0 as you say)?

Best regards.
                                Matjaz Jost

8
Web Server - Ask For Help / Re: Windows CE, very slow
« on: September 07, 2012, 03:44:35 AM »
Hello Bruce !

I turned the compress / combine on and is a little better but it's still loading everything and therefore slow (about 4 seconds for every screen). I couldn't find the settings for cache in the IE yet.
About Opera: which version would be OK for WinCE? I was somewhat confused when checking their website.
The company that I'm doing the project for has numerous such terminals running eneterprise software like SAP with normal speeds. How are they doing it? Without JavaScript and CSS?

Best regards.
                             Matjaz Jost

9
Web Server - Ask For Help / Windows CE, very slow
« on: September 06, 2012, 11:42:49 PM »
Hello !

I've started a project with NetTalk 5.44 for a handheld terminal with barcode scanner which runs Windows CE 5.0 and Internet Explorer over a WiFi wireless network.
I started with a Calculator(34) example which I simplified to one entry field and one display field.

When I tested the app on the terminal it was unacceptably slow. I compared the traffic in the server log between connecting to the app from handheld terminal and from a PC.
- from a PC there were only one POST and two GETs and everything was very fast
- from a terminal there were one POST and about 30 GETs everytime loading everything like when the first time connected: all scripts and styles. It can take up to 10 seconds to update the page

What can be done here?

Best regards.
                               Matjaz Jost



Pages: [1]