web-development

Instrument web site security and architecture questions

Hello, I’m developing a .NET/C# application software for an instrument which has a built-in PC (Core 2 CPU/2.66GZ/4GB RAM) and will have access to the Internet from behind the facility IT firewall. The software is made up of two parts: a rich client desktop app for UI and device control and a web app (silverlight) for providing remote ma...

Are there any Jquery/Ajax like libraries in php?

Im a little confused about this. I've only used php and html till now and wish to make my site web2.0-ish like most ajax based sites are. Are there any libraries i can use based on php? I know php is server side.. is there a client side ajax library or something? ...

tips to make my website (php) hack proof

Possible Duplicates: What security issues should I look out for in PHP What should a developer know before building a public web site? The project i was working on is nearly complete and near launching ,But i want to make sure it is hack-proof as mine friend/partner thinks we have some enemies those can hire smart hackers t...

remove whitespace from html document using ruby

So I have a string in ruby that is something like str = "<html>\n<head>\n\n <title>My Page</title>\n\n\n</head>\n\n<body>" + " <h1>My Page</h1>\n\n<div id=\"pageContent\">\n <p>Here is a para" + "graph. It can contain spaces that should not be removed.\n\nBut\n" + "line breaks that should be removed.</p></body></ht...

How do I use the ASP.NET grid view to instert new records?

Using the ASP.NET grid view. It displays 3 columns with 1 row for each, displaying an integer saved in the database. I would like to have a text input one for each column, so the user can add a new row of integers to the database. (The table only displays the last row updated, that part seems to be working OK) Here is the code I have th...

twitter error share link

These are the steps to experiment twitter error with share link: Logout from twitter. go to twitter.com/home?status=the status here output: got login page and login result: post login page ignoring the status Any workarround to keep the status message post-login? thx. ...

How do I execute an INSERT using SqlCommand?

I have another class that creates the connection (see refined class half way down page) and I believe it connects or at lest I do not hit any of the exceptions in run time. I would now like to insert data into my database but nothing is updated. I am trying to follow this example but it is for reading. I did run "querystring" on the...

Is there any reason to use Appcelerator Titanium Desktop Dialogs over something like ExtJS?

i am actually quite attracted to Appcelerator Titanium at first but after using it (or rather learning it) for sometime, i wonder if its better to use something like ExtJS(Sencha)/HTML5 provided the app don't require File System access? if the app requires file system access i will have no choice but use Titanium right? if so, will it b...

Python CGI-based frameworks for web development and templates?

What are my choices for frameworks for doing Python web development and having a nice language for writing templates for CSS/HTML? A key goal for me is not to have to run a server or install many extra dependencies -- I'd like something that works just by using CGI and hopefully does not force me to do any fancy reconfiguration of Apach...

Can a PHP function accept an unlimited number of parameters?

In PHP there are functions like unset() that support any number of parameter we throw at them? So, I want to create a similar function that is capable of accepting any number of parameters and process them all. Any idea, how to do this? ...

WebFrom_PostBackOptions failed error

In a web application i am getting this error. This application was working fine until sometime back. All of a sudden this error is coming. ...

How do I call a Java function by clicking a Hyperlink?

I have an HTML table with rows fetched from a database displayed in that table. I want the user to be able to delete a row by clicking on a delete hyperlink besides each row. How do I invoke a JSP function on the page, when the user clicks on each of those delete hyperlinks, so that I can delete that row's entry from the database? What ...

Why do you not use C for your web apps?

Hello all, I was having a look at a few different web servers this morning when I came across G-WAN. As I understand, its a web server written in C and you have to make use of it by writing your websites/webapps in C. One clear benefit is speed as the G-WAN site suggests. However, on the forums, the creator of G-WAN asked why not use C...

jquery or alike code generator

Hello, I'm looking for code generator that will help me to create mockup for web based GUI. I need to support tabs, buttons lists etc .. I don't care which technology used. Something similar to MFC/QT or any another GUI libraries usually provided as part of IDE. I'm don't have any knowledge in java scripts/HTML and want something v...

Why develop websites using PHP frameworks or open source product?

Now days most of PHP web development companies use PHP frameworks or open source products for developing websites but is that a right approach? If so but what will happen to the PHP programmer skill and knowledge? Don’t you think using approaches such as “PHP frameworks or open source modification” will kill the programmer skill over th...

CSS3 Fade Effect

a { float: left; width: 32px; height: 32px; text-align: left; text-indent:-9999px; background: url('../img/button.png') no-repeat 0 0; -webkit-transition: background 300ms ease-in 2s; /* property duration timing-function delay */ -moz-transition: background 300ms ease-in 2s; -o-transition: background ...

How to restrict or limit the html tags a user can enter in a web form, pref. client side?

Hi, What are good options to restrict the type of html tags a user is allowed to enter into a form field? I'd like to be able to do that client side (presumably using JavaScript), server-side in PHP if it's too heavy for the user's browser, and possibly a combo of both if appropriate. Effectively I'd like users to be able to submit da...

web server-side technologies niches

My background is asp.net development and I took part in several projects where developer team was free to choose server-side programming technology (PHP, ASP.NET[Web Forms/MVC], JSP) & free to buy any CMS. Looking backward I realize technology & approach we chose often wasn't the best one. I'll enumerate some projects: One web portal ...

SVN Web Development - Path / OS Differences

Hello, What is the best way to deal with config / directory / OS differences using SVN to develop and deploy on 2 different platforms? I am developing in Windows and deploying to Linux. I'd like to use my home PC to test the files before using commit, I'm using a web framework and you must specify the paths to your system and applicat...

jquery show dialog box on ajax form success

Hi, I have a number of form sections which a user progresses through. Each one is handled via AJAX, and on success, the next form is loaded via AJAX. I now have a situation where on a couple of sections I want to show a dialog box once the form has been successfully processed via AJAX. The process would be the user fills out the form, cl...