I have been involved with web development applications for more than 3 years now, using c# and microsoft stuff. I am now looking into, and researching, whether it is possible to use webservice, perhaps with Java as the core, and multiple languages and tools, such as HTML5, php, javascript, etc to interact with users. Some of the things I need to be clear about, if this is possible, are:
Is such method secure? What are the considerations that need to be taken into account and how can the security part be properly implemented?
Are there constraints to what type of interactions the web site can provide, such as sending forms with a lot of details, or long texts?
Some elaborations and examples would be appreciated.
What you're describing are called web apps. They're so ubiquitous you used one (StackOverflow) to ask whether it's possible.
To answer your questions:
Yes, it's possible to make it secure, and no, it's not easy. See Wikipedia for a starting point for how to read up on this huge topic.
No. HTML5 web apps are extremely capable. If Microsoft can port Office to the web, your online form will be just fine.
Related
I have found this question in my University Past paper.
I know what is enterprise application and i also have a detail knowledge of HTML.. But i could not understand what is the specific purpose of html in enterprise application development. I search this question in different ways from google but no site explain it in any way except the one which is (https://answers.yahoo.com/question/index?qid=20160825012934AAuuG4g)
This site says (If the application is web based, it needs HTML to display its GUI.)
GUI can alse be displayed using JAVA.
I want someone explain me in a better way
Yes, you can use Java API also for Web Based Enterprise, Its upto you which domain is used for creating Enterprise application..
An enterprise application can consist of anything. It's a big business application. The technology used for it can differ wildly, as you pointed out, Java can be used to display the GUI.
Most businesses opt for web-based applications utilizing HTML5 and Bootstrap. It makes mobility less of an issue when someone is out in the field (if that is one of the requirements) and easily maintainable etc.
Or you can have a windows application as your enterprise application, using .NET, Java, whatever to display an interact with your desktop. This means people have to be AT work to DO work because the application is installed on a PC, not compatible with Linux etc.
It's all about what the business needs are. HTML is just a technology that CAN be applied to an enterprise application
Just looking at Haskell and web frameworks and wondering if it would make sense to use Haskell's great threading/event functionality to power a platform for writing HTML5 and REST apps that expose an HTTP API for data and a WebSocket (with maybe SockJS support for appropriate fallback) API for events? It doesn't seem like the "big" web frameworks support WebSockets as a first-class citizen, though they seem to have a lot of other things going for them.
My concern is making use of available cores, which Haskell can do well, but also providing easy user integration on the server side for validation and server-side logic (maybe by embedding Lua or similar?). If one wrote this on the JVM, one could make use of multiple server-side language support and lots of libraries for this sort of thing.
I'm sure people are doing things like this in a one-off solution for their own applications but I'm thinking along the lines of a PaaS-type approach where one can write HTML5 apps with data (including proper synchronization for offline use) and eventing "for free" as a fundamental part of the platform. Most logic would reside in the browser but some could be run on the server with the appropriate hooks and a reasonable embeddability (JavaScript seems out of the question and not sure about embedding interpreters in Haskell as I'm only dangerously familiar with Haskell in general).
Part of the problem I've had with Haskell so far is that I'm not a Math guy. I didn't study CS in college and I'm a creative-type thinker. So a lot of the tutorials and documentation get me pretty lost, especially when dealing with the mathematical stuff.
Has anyone trod this path already? Am I late to the party? :)
Gregory Collins gave a tutorial at CUFP last year about using Snap to build an interactive chat website using long polling (not websockets). The source code is here.
In the websockets department, Jasper Van der Jeugt wrote a Haskell websockets library. It is available on hackage and comes with websockets-snap, which provides Snap framework support. There's also wai-websockets which provides integration with Warp.
I believe all of the major frameworks have some level of websockets support, so they should all be a fair choice based on your requirements. For Yesod, there's an example of creating a chat system (using eventsource, not websockets) available in the book:
http://www.yesodweb.com/book/wiki-chat-example
I want to build admin panel for my site!
But, I'm puzzled between Silverlight and HTML.
I believe Silverlight give me greater control and easier from HTML
What do you advise me to use in terms of best, security, and strong controls?
thanks,
In spite of what everyone says, Silverlight (and even Flash) is not everywhere. There are still a lot of users and browsers that don't have or support Silverlight. Of course it will be a great application if built using Silverlight, but you cannot just ignore the ones who don't have it installed. If you go with Silverlight, you will still need to implement a simple HTML version of your Admin Panel.
Having said all of this, it really depends on your user base, scope of your application and the type of environment it is going to run in.
Guess it depends on your audience. For an admin panel, unless you need the maximum reach to various devices and operating systems, Silverlight is probably fine and will probably allow you to whip something together very quickly using RIA services or WCF Data Services.
As far as security goes - you'll want to secure your services the same way regardless of whether you're using a HTML or Silverlight client to access them. Basically, just never assume that your client is the only one accessing your services. Don't send any data down to the client that you wouldn't want exposed and don't trust any input from the client without validating it first. This is where RIA services can help as it can coordinate validation rules on the client and server.
I'm not really familiar with Silverlight so I can't judge anything about it. With regards to html I guess Its a better choice if you want it available in many browser. If you heard about html5 I think you'll have a second thought about it. Well it still base on your needs.
I want to setup a simple site and I don't have any web development experience.
For a start, I need to create a basic form where I can post text and store it in a database. Nothing fancy.
Questions that I need answers:
Good free web hosting sites?
Any frameworks that I should use? (I'm familiar with Python and C++).
Are there websites where users can store and search any type of data?
Note that it's for personal usage and that I use Windows XP.
(I don't have any web development experience: I know HTML, how to use CSS, and I've tried Javascript, but I didn't build any real site)
I'd really like your help on this.
If you're familiar with Python I'd suggest using the Google App Engine. It's free if you don't have a lot of traffic and the framework provided there is also very easy to use.
If you just need a form and storage, then the absolute simplest solution (no coding required) would be a Google Docs spreadsheet form.
If you're only storing text with no need for intelligent queries, you could also consider using a wiki. I have my personal site hosted by wikidot.com which is free and perfect for my needs (I use it to store all my links with comments and some reviews).
Regards,
Sebastiaan
I'm in the process of adding CAPTCHA validation to one of my websites and need to know what open source solutions exist. Please note strengths and weaknesses and what platform they work with. I'm primarily interested in ASP.NET solutions but feel free to include PHP, Java, etc.
ReCAPTCHA is the same one StackOverflow uses. It has an ASP.NET implementation.
It uses a webservice to provide the captcha images; this is an university trying to digitize difficult to OCR texts. I'm not sure how easy it would be to replace this portion. There are many open source client implementations, as the API is quite well documented.
Jeff Atwood has a captcha control + source hosted on his coding horror site
ReCaptcha might be another alternative but i don't think the source is open.
Have you seen JCaptcha? Not an ASP framework, but might be useful.
Try this one... http://www.codeproject.com/aspnet/CaptchaImage.asp very nice article!
One I just found but have not tried out is MyCaptcha
ReCaptcha has many benefits. The fact that google owns it is a big plus. We used to use ReCaptcha on my project, but the firewall in our production environment cannot handle add entries based on domain name, only based on IP addresses. ReCaptcha has switched to using Googles infrastructure, so the IP addresses are no longer publicly available. Our production environment is locked down extremely tightly, so there are no workarounds possible -- we have to start using a new captcha. If you're in my boat, ReCaptcha won't work for you.
In the Java world, check out JCaptcha.
Have you taken a look at ReCAPTCHA?