What are the options?
The user to hits a web page, downloads code (Python I hope), execute it,
and be able to return the results. It needs to be able to go through
standard HTTP so that it could be run from behind a corporate firewall
without any other ports being opened.
Am I stuck doing an ActiveX control?
Yes, I know that downloading code and executing on the client machine is
a security risk. This will be for the employee's computers to connect.
This will not be a publicly available web page.
I have read some about AJAX. Is there an APAX coming for Python? 30 1975
AJAX works because browsers can execute javascript. I don't know of a
browser that can execute python. Basically your stuck with java or
javascript because everything else really isn't cross platform.
AJAX works because browsers can execute javascript. I don't know of a
browser that can execute python. Basically your stuck with java or
javascript because everything else really isn't cross platform.
Steve wrote: AJAX works because browsers can execute javascript. I don't know of a browser that can execute python. Basically your stuck with java or javascript because everything else really isn't cross platform.
Well, I guess the Grail browser could run Python, but I do not think I
can go there.
I need READ access to the users local disk storage. Can I do this in
Javascript, or should I bite the bullet and turn to ActiveX?
Steve wrote: AJAX works because browsers can execute javascript. I don't know of a browser that can execute python. Basically your stuck with java or javascript because everything else really isn't cross platform.
Well, I guess the Grail browser could run Python, but I do not think I
can go there.
I need READ access to the users local disk storage. Can I do this in
Javascript, or should I bite the bullet and turn to ActiveX?
You universally won't be able to do that with javascript, only with and
extension on firefox. ActiveX will limit you to windows only with ie.
Which isn't bad you still get a 80% market share.
You universally won't be able to do that with javascript, only with and
extension on firefox. ActiveX will limit you to windows only with ie.
Which isn't bad you still get a 80% market share.
In message <11************ *********@g44g2 000cwa.googlegr oups.com>, Steve
<st*********@gm ail.com> writes AJAX works because browsers can execute javascript. I don't know of a browser that can execute python. Basically your stuck with java or javascript because everything else really isn't cross platform.
ActiveState do a version of Python that can run in a script tag like
JavaScript and VBScript. This requires Windows Scripting Host. They also
do a similar thing for Perl, not sure about TCL.
The syntax is along the lines of
<SCRIPT language="Pytho nScript">
Python goes here
</SCRIPT>
I remember reading this about PerlScript and I'm pretty sure I'm correct
in remembering there is a PythonScript. Anyway you are limited to
ActiveState and Windows Scripting Host.
For pragmatic reasons I think you would be better concentrating on
JavaScript for the Client and your language of choice
Python/Ruby/Lua/whatever for the server part of AJAX.
Stephen
--
Stephen Kellett
Object Media Limited http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
In message <11************ *********@g44g2 000cwa.googlegr oups.com>, Steve
<st*********@gm ail.com> writes AJAX works because browsers can execute javascript. I don't know of a browser that can execute python. Basically your stuck with java or javascript because everything else really isn't cross platform.
ActiveState do a version of Python that can run in a script tag like
JavaScript and VBScript. This requires Windows Scripting Host. They also
do a similar thing for Perl, not sure about TCL.
The syntax is along the lines of
<SCRIPT language="Pytho nScript">
Python goes here
</SCRIPT>
I remember reading this about PerlScript and I'm pretty sure I'm correct
in remembering there is a PythonScript. Anyway you are limited to
ActiveState and Windows Scripting Host.
For pragmatic reasons I think you would be better concentrating on
JavaScript for the Client and your language of choice
Python/Ruby/Lua/whatever for the server part of AJAX.
Stephen
--
Stephen Kellett
Object Media Limited http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
On 11/18/05, Paul Watson <pw*****@redlin epy.com> wrote: Steve wrote: AJAX works because browsers can execute javascript. I don't know of a browser that can execute python. Basically your stuck with java or javascript because everything else really isn't cross platform. Well, I guess the Grail browser could run Python, but I do not think I can go there.
I need READ access to the users local disk storage. Can I do this in Javascript, or should I bite the bullet and turn to ActiveX?
This can only be done with scripts by disabling or bypassing browser
security restrictions. It can't even be done by zone in IE, only
globally, and I don't know if you can do it at all in Mozilla based
browsers.
A signed activex control or Java Applet (that registers for the
appropriate sandbox permissions) will work.
Overall, it's probably simplest not to do any of these and simply
write a standard application that you have users download and run.
This is the safest and most straightforward solution, and honestly
what you save in configuration managment when people call you
wondering why it doesn't work is probably worth the extra effort it
takes them to actually run your application.
-- http://mail.python.org/mailman/listinfo/python-list This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Billy Jacobs |
last post by:
I have a website which has both secure and non-secure
pages. I want to uses forms authentication. How do I
accomplish this?
Originally I had my web.config file in the root with Forms
Authentication set up and it worked just fine. Then I
realized that I needed to have some pages unsecure.
I then created 2 directories. One named Secure and the
other named Public. I placed my web.config file in my
|
by: John Morgan |
last post by:
Though I have designed and implemented a number of large reasonably
well received web sites I do not consider myself a graphics designer
I am now for the first time going to work with a graphics designer. I
notice that in the draft design the idea will be that many 'pages'
will in fact be pdf files. I suppose I exaggerate slightly but the
site could turn out to be a series of 'contents'pages comprising links
to pdf files which are for...
|
by: Jeremy Ames |
last post by:
I have created a web application that uses a custom control and a web
service on my local system. I have gotten all of the bugs worked out on my
local system and now it is time to move it to the sever. I have tried
copying all of the files and folders within my application folder. I have
even tried building a web setup and installing it on the server. The problem
that I am having is that my web service is still looking for the web service...
|
by: C. Woody Butler |
last post by:
I have a strange problem with a website and a web service.
They're both on the same server, running Windows server 2003. The website is
set up as the default website for the server.
I've got the same code running in several different environments, it just so
happens this is the production server we're having problems with. Not ideal,
typically.
What happens is this.
|
by: Lucas Fletcher |
last post by:
Hello,
I was wondering how I can reference assemblies from web.config files
residing in subdirectories without having to create a new project for each
web.config-containing subdirectory?
I would like to use an HttpModule, but only for files in a particular
directory, so I add a web.config file containing this:
<?xml version="1.0" encoding="utf-8" ?>
| |
by: Ruslan |
last post by:
Hello,
I have to project: one ASN.NET project and another - Web Service in the same
solution. I want to use the same web.config and global.asax files. Does it
possible?
|
by: Erick Lopez |
last post by:
When I send my web page to browser in ouput windows recibe this message
and the web page the error BC32400
Please Help me
Auto-attach to process ' aspnet_wp.exe' on machine 'TABLET' succeeded.
'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'DefaultDomain': Loaded 'c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll', No symbols loaded.
'DefaultDomain':...
|
by: Michael Herman \(Parallelspace\) |
last post by:
1. What are some compelling solutions for using Master/Content pages with
Web Pages?
2. If a content area has a web part zone with web parts, what is the user
experience like when "editting" the web part page? Does it take place at
the page level? ...or the content area level?
3. Where is the Web Part Manager instantiated? ...in the Master Page?
....Content Page? ...elsewhere?
|
by: job |
last post by:
In a sharepoint setup using smartpart to load our user controls using
enterprise blocks (data) we are getting some strange errors (logged to
the event log). We dont get the error all the time. When we get the
error CPU goes 100%
We have been through all we can think of, but have not been able to
locate the source to the error.
Any suggestions?
|
by: Jeff |
last post by:
Hey
asp.net 2.0
My asp.net 2.0 project has got a assembly load problem:
Some of my web.config settings:
<membership defaultProvider="AH_MembershipProvider"
userIsOnlineTimeWindow="15">
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |