web-development

Looking for Aspose .NET Slides Alternatives

I'm developing an ASP .NET web site that will allow users to view and print Microsoft PowerPoint slides. Right away, I knew that Aspose had a product that would likely allow me to do this. What I'd like to do is look at alternatives just to say to management, "Yes, I've looked at the alternatives and they are...." I can't seem to fi...

Web page generator like LaTeX

Hi, forgive if this is dumb. I was wondering if there was any such thing like LaTeX, by which you could write in a markup and compile it to a whole web page (of course with CSS and other styling). I've heard of lightweight markup languages like Textile. But I don't think they serve my purpose. ...

Dependency injection - must the dependency be one of the class variables of the object into which it is injected?

All, I am writing a little dynamic site in php, and am trying to use dependency injection rather than globals. In my index, I create a $view object which contains the various elements to be displayed in the UI. In the index, I also have a switch($action){} structure that governs which controllers to require based on which item the use...

Few Logical Programming Questions.

I started coding recently, and this community has helped me a lot understanding many things which I was not aware of. However, many reputed coders instructed me of some patterns, the way I have to code and the way I shouldn't write codes. Although I accepted their suggestion with gratitude, there was many thing I couldn't understand. I...

web dev environment : cvs + localhost + server in sync : nusphere phped + wamp

Hello, I am a freelance web developer (php/js/xhtml/css etc). Currently: 1) I use wamp on windows 7 for local development (localhost) 2) I use nusphere phped. 3) then when I have to check it on server, I transfer all files through cuteftp to my server. 4) I dont use any kind of CVS at all. What I want is a development environment whe...

Best workflow for binding website user accounts with facebook accounts

I need to implement facebook-connect to a website where users already might have their internal accounts. If internal account doesn't exist, it should be created from facebook credentials. Also it should be possible to link an existing account to facebook account. The technical implementation is clear to me, but I am more interested abou...

Cufon text overlays Fancybox

Hi. I'm using the Cufon library to display some text on this page. If you look (via Firefox 3.6.x) at the section called "Thank You Gifts" and click the text in that area, you'll see a Fancybox (ver. 1.3.1) pop up. When it pops up, I have to hide the Cufon text title of the section or it will overlay the Fancybox. How do I fix this so ...

What are the benefits of compiling your Javascript code?

I'm diving into web development and, as I inspect the source of some web pages, I see people referencing "/scripts/compiled.js", which tells me people are compiling their javascript code. What are the benefits of compiling javasript code? What are the popular tools used for compiling javascript code? Thanks so much in advance for you...

does it serve any purpose for copyright information displayed on footer?

Hi there, I am well aware of the term Copyright and almost everyone uses it in their respective website. i am a freelancer. does it serve any purpose if i display the copyright text in footer below? is it beneficial ? does the law protect our codes from being illegally duplicated just by displaying the text? and lastly apart from the ...

Is there other way to perform Seam conversation to to handle multiple pageflow in web application?

I am reading book, Practical JBoss Seam Project. In the page 74, author mentioned "motivation for conversations". The concept is to handle multiple pageflow that user can have different sessions for the same page. For details to click here. I google this idea about conversation but I can't get good answer. My question is if I don't use S...

How do I auto-scroll to a specific table row?

I have an html page with a header, a table containing 100 items and a footer. When there is a search, I highlight the row containing the data. However, if the highlighted row is row 75, the user has to scroll down to find it. How can I automatically scroll to that row? I did see scrollTO() but see it only takes axis points. Any ...

How to choose a salt for a hash function meant to protect passwords?

I'm a (near complete) beginner, and this is my first foray into encryption - in fact this is probably the first time I use the word. Here is my question: For a non banking / military, or even commercial, web app, what is the right way to choose a salt for a hash function used for passwords? I can easily generate a pseudo random salt f...

What is the proper way to label a link with a background image?

If I am using a background image in an anchor tag as a menu, what is the best way to provide a text label equivalent for screen readers and SEO? Assume the HTML is like this: <h2><a class='menuItem1'></a></h2> And the CSS is like this .menuItem1 { display:block; width:100px; height:25px; background-image:url(../Image...

Is it "a-must" to trim all whitespaces in POST/GET vars?

IMHO, I heard about this few times lately. On some web portals I saw when whitespace in the beginning of the keywords, returns empty search result, without whitespaces it's working. Are there some cases when this can be harmful? Can somebody give an arguments for this kind of practice? ...

Web data visualization/charting library

I'm building a Rails app that needs some data visualization. What is a good library to learn? (If it matters, I don't have much web/javascript experience, but I'm starting to learn.) I've been dabbling around with Protovis... But, well, I don't understand what all the hype is. It seems quite long and painful even to create just a simple...

how can i see all the tweets in my website

I m using twitter home page using twitter Api in my local website in which tweets send by own is shown but all the tweets send by any other person are not visible... how can i see all the tweets in my website in local machine... ...

How to make IE8 only to work in compatibility mode?

IE8 has it's own bugs which are not present in IE6, IE7, IE8 compat. mode and IE9 beta... i.e.: http://forum.jquery.com/topic/hidden-visible-broken-in-ie8 Is there any way to force compatibility mode for IE8 only? When i try to put in the header something like:   <meta http-equiv="X-UA-Compatible" content="IE=IE7; IE9" /> IE8 doc...

IE not printing disabled radio button's selection

I have a set of radio buttons that are all disabled, and one of them is selected. In IE8, when I print the web page, the selected radio button is not showing as selected. However, this works fine in FireFox. Any ideas? ...

Versatile software architecture/pattern for web applications

I'm currently gathering all the possible information to build a new web application core. I have built many different CMS'es before, but they have always turned out to be too weak for my requirements and to expand them, it takes too much time. Basicly, I want to build this "new" core, which would allow me to easily extend it with module...

Script to change webpage header based on domain name

Is there an easy way to swap a file url based on domain name? I've acme.com & acme.co.uk site domains which require different header graphic but are otherwise identical content. Rather than managing two sets of files and CMS, is there a JS/php script or other method to change the header graphic url dynamically based on which domin name...