473,413 Members | 2,058 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,413 software developers and data experts.

dumb question?

PJ6
Are there any plans for broswers to support a real language client-side, and
not just "cripple script"? Will we ever have the luxury of programming using
Framework classes client-side some day?

Paul
Nov 19 '05 #1
13 1116
Sure... it's called WinForms.
Seriously though, the security risk is so great that most would never allow
it to be installed.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"PJ6" wrote:
Are there any plans for broswers to support a real language client-side, and
not just "cripple script"? Will we ever have the luxury of programming using
Framework classes client-side some day?

Paul

Nov 19 '05 #2
The reason, for client side langauges having restricted features, is
security concerns. Seeing the frequency viruses/hacks are being
announced, I belive it will only become even more restricted in the
future :)

Nov 19 '05 #3

"PJ6" <no****@nowhere.net> wrote in message
news:u2**************@TK2MSFTNGP10.phx.gbl...
Are there any plans for broswers to support a real language client-side,
and not just "cripple script"? Will we ever have the luxury of programming
using Framework classes client-side some day?


I think your best bet for a "real" programming language that runs on the
client side is Java (note that this is distinct from "JavaScript").

- Oliver
Nov 19 '05 #4
> Are there any plans for broswers to support a real language client-side,
and
not just "cripple script"? Will we ever have the luxury of programming using Framework classes client-side some day?


If you're using a real language and wanting to make applications, then why
bother with the browser in the first place?

-Darrel
Nov 19 '05 #5

"PJ6" <no****@nowhere.net> wrote in message
news:u2**************@TK2MSFTNGP10.phx.gbl...
Are there any plans for broswers to support a real language client-side,
and not just "cripple script"? Will we ever have the luxury of programming
using Framework classes client-side some day?


I'd be happy with cripple script and a consistent API.

While IE may have almost the entire markets share, it would still be nice to
have your client script run on every browser.

Nov 19 '05 #6
PJ6
"darrel" <no*****@hotmail.com> wrote in message
news:O9**************@TK2MSFTNGP15.phx.gbl...
If you're using a real language and wanting to make applications, then why
bother with the browser in the first place?

-Darrel


You're preaching to the choir, man. But everyone's all web this, web that. I
avoided it as long as I could.

Paul
Nov 19 '05 #7
PJ6
I just don't see a necessary correlation between the power of a language and
it's ability to do damage - proper design should separate object
creation/execution and whatever else the language allows at runtime from
direct system access. Java has this whole "virtual machine" thing (which I
admit I know very little about), it would seem to me not an overly difficult
(if labor-intensive) concept to apply security restrictions to the Framework
as a whole, to allow WinForms-style functionality over the web. The
Framework has been compiled for Linux, I think it would be an excellent
candidate for a new web UI standard. Screw this clunky HTML/Java crap. To me
it all looks like just a hack to get around a system that was never intended
to do what it does now.

If you're next response is "you don't know what you're talking about", then
fine; I admit I'm a newbie. This is just how I see the state of web
application development at the moment. I come from years of real application
development, its ugliness frustrates and surprises me.

Paul

<sr**********@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
The reason, for client side langauges having restricted features, is
security concerns. Seeing the frequency viruses/hacks are being
announced, I belive it will only become even more restricted in the
future :)

Nov 19 '05 #8
"PJ6" <no****@nowhere.net> wrote in message
news:em**************@TK2MSFTNGP14.phx.gbl...
[snip]
Framework has been compiled for Linux, I think it would be an excellent
candidate for a new web UI standard. Screw this clunky HTML/Java crap. To
me it all looks like just a hack to get around a system that was never
intended to do what it does now.

[snip]

Theres a paradigm shift moving from Windows apps to web-apps. You lose the
ability to quickly respond to user actions. IMHO; trying to compensate for
that with applets or smartclient is not the way to go. Don't get me wrong,
applets & smartclients have thier place, but I don't think compensating for
the limitations of HTML qualifies.

Why do you want a client heavy UI functionality? Why don't you do all the
real application work on the server & deliver standard HTML to the client,
with as little client side script as possible?

There are good ways to handle this; ASP.NET and Java are both great. If you
prefer Java, look into MVC architecture and STRUTS.
http://struts.apache.org/

If you REALLY WANT an app with immediate response functionality similar to a
windows application and pages refresh; it is possible .. I've done it.
Keep in mind that the more browsers & browser versions you try to support,
the more problems you will have. But if you insist on doing it that way,
build your application in client side script and have a 0x0 iframe which
submits and recieves data.

That's my 2 cents FWIW, I hope it helps.

--
Regards,
John MacIntyre
http://www.johnmacintyre.ca
Specializing in; Database, Web-Applications, and Windows Software

Nov 19 '05 #9
woops .. typo

.....
If you REALLY WANT an app with immediate response functionality similar to
a windows application and pages refresh; it is possible .. I've done it.

...

that line should be "and NO page refresh"

Nov 19 '05 #10
"PJ6" <no****@nowhere.net> wrote in message
news:em**************@TK2MSFTNGP14.phx.gbl...
I just don't see a necessary correlation between the power of a language
and it's ability to do damage
The more powerful the language, the more complex it is. And the more
complex it is, the harder it is to prove theorems about it. And the harder
it is to prove theorems about it, the harder it is to prove that it cannot
deal damage (this is a gross oversimplification of Godel's Incompleteness
Theorem).
proper design should separate object creation/execution and whatever else
the language allows at runtime from direct system access.
The question isn't whether or not the program will be harmful if it is
properly designed; The question is rather, how can we guarantee that the
program will not be able to damage the client's computer, even if the author
of the program was malicious and trying to circumvent every security measure
we put in place?

If you create a language which cannot read or write files, then you
don't have to worry about a malicious program deleting all the files on the
client's computer, or worry about it reading sensitive data. But then you
have a "crippled language".
Java has this whole "virtual machine" thing (which I admit I know very
little about), it would seem to me not an overly difficult (if
labor-intensive) concept to apply security restrictions to the Framework
as a whole, to allow WinForms-style functionality over the web.


In theory, it isn't too difficult. In practice though, these frameworks
contain a LOT of code, and any software which contains a lot of code
inevitably has bugs in it. And if the bug happens to be in a
security-enforcing module, then you're in big trouble.

- Oliver
Nov 19 '05 #11
WinForms-style functionality will not be possible in web because of the
nature of it. There is only limited job (mostly UI and some validation
functions) we are getting done at client side, and rest of the code is
in the Server.

When you need the powerful features of a framework at the client side,
that also need a powerful compiler/interpreter at the client computer
that can process the language. Also need a good processor and memory
for it. Probably some garbge collection object pooling etc also...

The main purpose of web is to deliver to mass audience. Client machines
could be PDAs or 20" flat panel. Client machine speed could be 100 MHZ
or 4 GHZ. Client machine memory could be < 100 MB.

So for every client to understand, it is necessary to use simple
scripting in HTML, JAVASCRIPT as a standard

by the way.. JavaScript supports User Objects, Error Handling,
Extending intrinsic objects with new functions, Processing XML and many
other features.

Nov 19 '05 #12
WinForms-style functionality will not be possible in web because of the

nature of it. There is only limited job (mostly UI and some validation
functions) we are getting done at client side, and rest of the code is
in the Server.
When you need the powerful features of a framework at the client side,
that also need a powerful compiler/interpreter at the client computer
that can process the language. Also need a good processor and memory
for it. Probably some garbge collection object pooling etc also...
The main purpose of web is to deliver to mass audience. Client machines

could be PDAs or 20" flat panel. Client machine speed could be 100 MHZ
or 4 GHZ. Client machine memory could be < 100 MB.
So for every client to understand, it is necessary to use simple
scripting in HTML, JAVASCRIPT as a standard
by the way.. JavaScript supports User Objects, Error Handling,
Extending intrinsic objects with new functions, Processing XML and many

other features.

Nov 19 '05 #13
WinForms-style functionality will not be possible in web because of the

nature of it. There is only limited job (mostly UI and some validation
functions) we are getting done at client side, and rest of the code is
in the Server.
When you need the powerful features of a framework at the client side,
that also need a powerful compiler/interpreter at the client computer
that can process the language. Also need a good processor and memory
for it. Probably some garbge collection object pooling etc also...
The main purpose of web is to deliver to mass audience. Client machines

could be PDAs or 20" flat panel. Client machine speed could be 100 MHZ
or 4 GHZ. Client machine memory could be < 100 MB.
So for every client to understand, it is necessary to use simple
scripting in HTML, JAVASCRIPT as a standard
by the way.. JavaScript supports User Objects, Error Handling,
Extending intrinsic objects with new functions, Processing XML and many

other features.

Nov 19 '05 #14

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

Similar topics

16
by: squash | last post by:
a dumb question i had on my mind: Say you have a dynamically created web page . Isn't it more secure to write it in php since a visitor will not be able to tell it is dynamically created? But...
15
by: Good Man | last post by:
Hey there I have a dumb question.... Let's say i have a database full of 4000 people.... I select everything from the database by: $result = mysql_query("SELECT * FROM People");
3
by: ed | last post by:
I've just started working with .Net, so appologize for what is probably a really dumb question. Did Windows XP originally come with the .Net framework installed, and if so which version? ...
2
by: InvisibleMan | last post by:
Hi, I feel a little dumb for asking this (considering im writing TSQL) but there doesn't seem to be any definitive answers on the search engines... Okay I understand that if you open the ADO...
2
by: TGF | last post by:
How do you copy a String type into a native char buffer? Dumb question, but not sure how to do it :( TGF
5
by: Need Help | last post by:
This might be an extremely dumb question; I'm new to Visual C++, and am trying to use the simple Spooler API, OpenPrinter, but when I try to compile my source file, it says OpenPrinter is an...
10
by: Edward | last post by:
I've just taken over maintaining a system from a colleague who has left. I find the following line in her code: Dim params(2) As SqlClient.SqlParameter params(0) = New...
4
by: Stelrad Doulton | last post by:
Hi, Apologies if this isn't the correct forum. I am writing a communication solution (actually on the Compact Framework) based on HttpWebRequests hooking up with custom handlers on the...
2
by: Bill Nguyen | last post by:
I would like to add a new VB.NET project using the same folder being used by another project so that I can share several forms already creaded by the other project. However, .NET created a new...
6
by: Robert Dufour | last post by:
What is the meaning of the word marshal and unmarshal in plain english as applied to an exe file? Does it mean the application has started and ended? Thanks for any help, Happy new year, Bob
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.