web-development

What's the best way to directly print to a printer, like POS printer, over the web?

Is it possible to print to a networked printer from a web app? Are there any POS or similar form factor printers which can be connected to the internet and printed to directly(given that a port is opened through the router)? My ideal case would be a printer to which I could send XML and have it print without requiring a PC and hence no...

JavaScript scrollTo method does nothing?

Hey all.. So I am desperatley trying to get some scrolling functionality to work on a page. After not having a luck I decide to just stick window.scrollTo(0, 800); on my page to see if I could get any scrolling to happen. Nothing does happen. I have an accordion that expands and then I want to scroll to a specific element with in it. Bu...

Where can I find 'more advanced web toolkit' for Template Toolkit?

I really like Template Toolkit and like how it works with Catalyst, but I would like more 'web advanced' toolkit. It could be just a package of *.tt files for Web objects like these: Selector, Selector_DateTime, Menu, Data_Table... Is there something like that somewhere on the Web? If not, why not? ...

how to insert special fav icon bar on the web

Is it possible to insert special icon bar on the web like this (show icon front of address bar from firefox 3.0) How do it? Thanks eBattulga ...

Cross-browser tool

Recommendation for tool(s) that can automatically scan and detect code that will have cross-browser problems. Basically, any tool that can make cross-browser easier. EDIT1: I know of most of the browsers and the main rendering engines to be tested. This is not really what I am asking. I also know that it makes the most sense to, from ...

best desktop or webscript for managing database?

which one is best web script or preferably desktop software in which my small company can keep database of students and teachers and do stuff like sorting, filtering, and giving command to print certificate for selected students on demand. thanks ...

Your desktop layout for web development and or programming in general

I own a Macbook laptop and a 21'' monitor, the first on my left and the second just in front of me. I am in OS X Leopard, using two workspaces to which I switch constantly. On the first (conceptually for regular navigation and communication apps like IRC, adium, twitter, skype) I run Safari on the monitor and the IM, IRC etc in the lapto...

How can I set the Cache-Control header for every response in Catalyst?

It seems that by default Catalyst does not output Cache-Control:, etc. headers. I know I can output them in a given controller method like this: $c->response->headers->last_modified(time); $c->response->headers->expires(time + $self->{cache_time}); $c->response->headers->header(cache_control => "public, max-age=$self->{cache_time}"); ...

How can I not send a cookie when I use the Cache-Control header in Catalyst?

I'm using sessions in my Catalyst app via Session, Session::Store::DBIC, and Session::State::Cookie. I have a few controllers and methods that send out data with a Cache-Control: public header, so its essential that the Set-Cookie: header not go out with those responses (otherwise, it'd be cached and sent to other clients, leading to p...

To SharePoint Or Not (as a foundation for application development)(vs ASP.NET)

I have a POV that you should only use SharePoint for application development under these conditions. 1) The application uses documents and these documents need some sort of functionality that SharePoint does extremely well (searching/indexing, sync with Outlook, etc...) If all you want is a document bucket and a list then ASP.NET or ASP...

Stop Visual Web Developer from putting "span lang="en-us" tags

I'm working my way through figuring out how VWD applies styles depending on how you attempt to modify the formatting for text, and noticed it keeps putting in an span lang="en-us" tag in front of things. A check of google didn't produce anything that was relevent for VWD, so I thought I'd ask if anyone knows how to prevent this tag f...

Efficiently record and store page view counts in the database?

Sites like StackOverflow count, save, and display the view counts for pages. How do you do it efficiently? Let's take view counts for StackOverflow questions as the example. I see the following options. Option 1. When the app receives a request for a question, increment the count in the question table. This is very inefficient! Th...

Best JQuery Plugin online directories?

Beside the official JQuery web site, what are some of the best online directories (listings) for JQuery plugins? There are some plugins I never knew existed so I wanted some resources, hopefully with RSS feeds, which notify me of new cool JQuery plugins. ...

Of all of the ways that Microsoft offers you to write a web page, which one delivers the most value per programming hour?

I'm frustrated recently by all of the choices that Microsoft offers to develop a web form. There is Sharepoint, Infopath without Sharepoint, ASP.NET Web Forms (with different controls for each runtime), ASP.NET without Web Forms, ASP.NET MVC framework, Silverlight, and WCF. Rendering and databinding technologies aside, there are a hand...

Creating non-standard pages with Ruby on Rails

I'm creating a personal site with Ruby on Rails. For the most part, RoR is the perfect tool, allowing for blog posts, comments, etc all rather easy. However, I want to have a few pages that don't require any specific model. An 'About Me' page, for instance, is necessary, and yet doesn't warrant it's own model/controller. In addition, t...

Google maps-like component

Is there a Google-maps like component (that is not Google Maps) that allows pan/zoom of an image and adding markers onto it? I'd like to show an image instead of a map and it can be javascript or flash-based. ...

Do Drupal and YUI play well together?

We are putting together a website for a client and their IT Team have ask us if we can use Drupal and YUI together. We have not use both products before, but we have no reason why not to use them. We have heard good things for both, the only concern that we have is the actual integration, since drupal is a CMS and YUI is a framework....

Redirection problem in Java(Wicket)

I have a page that is inherited from WebPage and is protected by class below: public final class WiaAuthorizationStrategy implements IAuthorizationStrategy, IUnauthorizedComponentInstantiationListener { private RealmPolicy roleManager; private static WiaAuthorizationStrategy instance; private WiaAuthorizati...

Pros and cons of using BlazeDS or web services as the remoting and messaging technology between Flex view layer and Spring business layer?

In my company, we are going to use Flex3 for the presentation layer of a new financial web application and Spring for the business layer but a debate is still going on regarding the best messaging/remoting technology. Can you share your own experiences in terms of pros and cons of using one or the other technology? ...

Coding Database web apps

This is somewhat confusing from my side to explain here.when i try learn new language i go on with some of these steps: 1) simple hello world programs, math programs, counter programs 2) interaction between pages, fetching data(RSS/Atom) from other websites using their API's. 3) storing or manipulating data(mysql/postgresql you can sa...