frontend

Using a model as a frontend for a dao

Say I use a simple frontend for information passed on by a DAO that uses JDBC (without ORM). In other words, the class would have no attributes to speak of. Would this considered as a valid approach? What issues could it potentially cause and how could a class be designed to avoid them? ...

Preventing line wrapping in CSS layouts

My CSS designer has made a design where there are two ul siblings laid out left to right. The layout is done by specifying the width of the ul tags. He is using Firefox on Windows where everything looks fine. I am using Firefox on OS X where the contents of one of the li tags has too much text so it flows to another line. The design ...

Using plugins that are not updated anymore

I have a simple question: Would you rather use a plugin that is actively developed by the author(s) or use a plugin that is good in your perspective, but you know that it was last updated years ago and has no active support? ...

Cherrypy : Do I really need to put it behind a frontend ?

Hi. I've been working on a python web app using cherrypy and read it'd be more "robust" to use it as a backend, so I gave it a try. Shortly put, running some benchmarks on a page doing some database operations and serving static & dynamic content has shown that plain cherrypy was twice as fast than nginx and memcached, and about half f...

How do I create a star-rating system?

Amazon has a star rating system. Other sites use smiley faces that change color when you mouse over them. Does anyone know of an API I can get or a simple way to put this together? This is an ASP.NET 2010 app. ...

Designing a frontend/backend system in C++?

I'm about to write a program in C++, but I'm unsure as to how to go about it. I want to create a program that can be used with a command line frontend but also a GUI frontend as I don't want to bind a user to a specific interface such as a widget toolkit for dependencies' sake. How would be the best way to do this? I know some programs ...

Partially editable PyQt4 TextEdit

I'm currently making a frontend for my favorite expression-oriented arbitrary-precision calculator using PyQt4. The problem with it is that there doesn't seem to be any way to make part of a TextEdit widget read-only (specifically, the text that has already been sent and the results thereof) but the rest of it fully editable. Do I need t...

CakePHP: authentication frontend and backend, are they possible together?

I'm developing a CakePHP 1.3 application which needs to login users backend and frontend. On the backend, admins and others must login to edit pages and data. On the frontend, users can login to see "private" pages. I'm using CakePHP ACL/Auth to login backend users (but i dont'have so clear how it works). What do you suggest? I was t...

Would you prefer Aptana or Dreamweaver for front end development?

I have access to a copy of Dreamweaver CS5 which is paid for, so I am trying to decide if I would rather use Dreamweaver or Aptana. They seem fairly similar in basic function, but I'm sure their complete list of features differs a lot. The only thing I care about at the bottom line is which one is going to allow me to code HTML, CSS and ...

Should DreamWeaver be in my front-end workflow?

I am looking to speed up time to develop website layouts. So I am wondering if using DreamWeaver for layouts is useful - efficient. I am looking at purchasing this software, so, I had a few questions. I am very comfortable coding HTML, CSS and JavaScript(jQuery) by hand in either PHPDesigner or Notepad++. Most of the time for layouts I...

@font-face rendering performance

Hi, i'm building a site where we are considering to use a custom font (using @font-face) for all text on the site, not just the headers. I've already integrated a custom @font-face on another site for just the headers, which works fine, but i'm a bit worried about performance (especially rendering) when using a webfont for everything. Es...

Ruby plugin for web browser?

Am I correct that if someone wrote a Ruby plugin for a web browser and a user installed that plugin then it would be possible to replace javascript with ruby on the frontend? Aren't there any plugins for this? Or even for using other languages than javascript on the browser side? ...

Advantages of implementing a front-end over linking against a library

I want to write a C++ program that plays MP3. Among available MP3 decoding libraries, I chose mpg123. I noticed that, besides being able to link against libmpg123 and make the necessary function calls in my code, the library includes a back-end/front-end interface that enables me to communicate with it's executable, and thus not having ...

Frontend architecture

For now we have very heavyweight frontend (frontend+backend in one application actually). Frontend contains all the logic: UI, business logic, persistence logic and so on. It's very complicated and hard to maintain, because of some platform problems (it's written in PHP) like absence of connection pooling, for example. So I came up with...

How do you play a sound on the web browser?

How do I play a sound on the web browser as notification? ...

All frontend languages/solutions

Are these all the languages/solutions you could use in frontend? javascript+html+css flash java silverlight (c#, ruby, python etc) And what is a plugin for Safari and Firefox written in? Is it low-level languages like C++? ...

Sproutcore or Cappuccino for Ruby-on-rails?

Rails is a very great backend framework keeping everything clean and structured. I guess that you all have thought about doing the same for the frontend. Sproutcore Cappuccino Do you use one of thes MVC javascript frameworks for the frontend with Rails? In case you do, do you feel satisfied with it? How did you code before and how...

Why don't they implement python and ruby on the web browsers?

I wonder, why don't they implement other languages like python and ruby on the web browsers? Don't they fit as client programming languages or did it just happen to be that Javascript was the first one to be implemented, and they then kept on only supporting javascript because it just worked. I mean...I really hate Javascript compared ...

Java parallel frontend architecture

Not so long ago I asked question about frontend architecture: http://stackoverflow.com/questions/3713960/frontend-architecture. So I came up with an idea of parallel fetching resources from backend to minimize latency and uniformly distribute workload on backend. Implementation of such architecture I see in nonblocking fetching resource...

Agile development from a front end developer perspective

I have recently joined an Agile software enginerring consultancy as their sole front end developer. It appears to me that one of the features of the Agile process is that you don't forward invest in features but the way I am being asked to work is to code everything up front thus creating a lot of forward investment. This has lead to a...