web-development

How do I view a website in my desktop browser from a web app running in server in a VM on my desktop?

I am running Ubuntu on my workstation, and headless Ubuntu Server in VirtualBox on this same workstation. I'd like to write a web app and deploy it on Ubuntu Server in the VM, then load it in a web browser on my workstation. Is this possible, and if so how? Thanks! ...

How did they make a fading, animated signin button?

If you look at www.me.com by Apple. Yoiu will see the SIGNIN button loops in fadein and fadeout animation. Is this jquery? Erik ...

source code trees: wide or deep

After writing a few python appengine apps I find myself torn between two approaches to organizing my source code tree: wide or deep. For concreteness, consider an internal application for a small consulting shop to manage business operations like contact management, project tracking & reporting, and employee management. The applicati...

What separates self taught from trained professional devolpers?

I've been developing with C#/ASP.NET (and now ASP.NET MVC) for several years. I'm 100% self taught, and I'd like to believe I try to do what's best practice, but... My question is, what do you think separates self taught developers from trained professional developers? What techniques, in C#, would you consider advanced - that self taug...

Analytics Obsession

My client is really obsessive about analytic data. He wants to explore the tiniest details to maximize his open, click, and conversion rates. While theres nothing wrong in that, but sacrificing usability and the site's design in order to achieve better performance? He'd use an ugly looking red button only because it performs better than ...

Is there a better error reporting via e-mail for Django?

Quite often the error reports coming via e-mail are less than useful in tracking bugs. Most often this is due to missing session data and username of the user triggering the error. Is there a project or a library I could use to get more complete error reports? ...

Is it a common practice to wrap all page content in a form inside a top-level template?

There is a top-level template in my project and it defines several sub-templates nested in a form: <h:form> <ui:insert name="header"/> <ui:insert name="leftbar"/> <ui:insert name="maincontent"/> </h:form> It's not my idea actually to build application in this way. I see both its advantages and disadvantages. The biggest p...

cakephp baking in windows 7

Hi, I'm new to cakephp so have just been working through the cookbook and am now working through "Beginning CakePHP from Novice to Professional" by Apress. I have got to the Bake section of the book but I can't seem to get it working in windows 7. I have added the path to my "Environment Variables" so I don't have to navigate to the lo...

JSF Facelets rendering problem

Hey folks, I have a problem with my facelets: I constricted a nav part that displays login information for about curren user and a logout button. Login works properly. But after a user logs out, the nav part of my page displays Welcome, User (role) [Logout_Button] Whereas, what I want is the same thing that happens when you get ...

Which Web based language to learn?

Hi, I have a pretty good Java background and about a year's experience with Android. I was looking to learn a Web based language but I am not sure which one to? It's not necessary that it has any thing to do with Java. But something that will be useful and interesting to learn? I know this sounds stupid, but any suggestions? Thank You. ...

CSS doesn't load after migration of magento website

Hello friends, I migrated my magento website to a different server, following the steps described here. Everything went smoothly, except for the fact that when I load the page, the CSS won't load, and I just get the page in plain text. I used firebug and noticed that the path the system is using to get to the CSS file doesn't exist in ...

Looking for advice on a personal learning project. Where should I go next?

At work, I build web apps using a pretty vanilla Java Enterprise technology stack. Ths includes some sort of SQL database, EJBs, JSP/servlets, etc., all running under JBoss. Then there's the usual jQuery and CSS footwork in the browser. I'd like to start working on a small, personal project in my free time, mostly as a way to gain expos...

How to get deployment directory path in JSF application?

Is it possible to find out deployment path from JSF application? One more question (if the answer for the former question is true): is it legitimate to store some uploaded files there? ...

execute php/javascript function after a certain amount of time has passed

Hey guys, I need to be able to execute either a php or jquery function to update a sql database every certain segment of time, 20 minutes for example, regardless of user activity on the website. Does anyone know the easiest way to do this? Thanks, any help is appreciated. ...

Hyde Website Generator for PHP?

After finding the Hyde static website generator, I got to wondering, Is there a similar tool written in PHP? ...

Formatting text in an ASP.Net Boundfield

I have a webform with a a couple of boundfields in an edit window as follows: <asp:BoundField DataField="TS_TITLE" HeaderText="Title" SortExpression="TS_TITLE" HeaderStyle-VerticalAlign="Top" HtmlEncode="True" > <ControlStyle Width="500px" /> </asp:BoundField> <custom:BoundTextBoxField DataField="TS_DESCRIP...

Embed Telnet Control in Webpage

I was wondering if there are any Telnet "controls" that can be embedded into a web page (more specifically, a ASP.NET MVC page). I'd prefer not to use an ActiveX control, but I am open to any suggestions (a Javascript solution would be ideal). ...

Which wamp/lamp development environments have openSSL

I'm looking for a wamp/lamp development environment that supports OpenSSL out of the box so I can do things with https://. I'm not sure if OpenSSL is a feature of Apache or PHP, but I would rather not add that myself. If your development environment supports it, please add it here. ...

Hosting a php application on a Windows Server system. Any issues / advice?

We've built a php application that we need to host on a Windows Server 64 bit platform (due to another software being present that we need to access). However, our php application has been built on a linux environment. Is there anything we need to be watchful of when running apache and this php application on a Windows environment? ...

Can you programatically define ASP.NET configuration?

Is it possible to define a large portion, if not the entire, web.config of an ASP.NET application in code? If so, how? Would you use an IHttpModule? In the same vein, can you resolve an IHttpHandler within said module to handle all incoming requests? Edit 1: The last bit was instigated by this answer to another question. Edit 2: What I...