frontend

Symfony : How to filter data on the frontend like in the backend

Hello, on the backend on symfony 1.4 / Doctrine, you have a tool which allows you to filter data according to date, location, age (and many more according to your model) EXAMPLE I'm searching a way to do the same (with some customisation such as removing some fields) but in the frontend. I didn't find any documentation on how to do it...

Best practices doing big file upload on the web with progressive enhancement.

I'm building an HTML form with which the user should be able to upload big files up to ~100MB. My users could be coming from anywhere so I can't count on a broadband connection, modern browser or availability of Javascript/Flash. For the users who do have these "extras" I'd like to offer a better experience like some form of feedback on...

Do this after visiting X amount of pages on site

Is there an easy way to track how many pages a user on your site has visited with Javascript (preferably jQuery)? I need to execute a function after a user has visited more than 5 pages on the site. I was thinking of storing the window.location.href into a variable and checking it to see if it matches the next page. If it doesn't I wou...

Efficient way to manage the relations between two database tables on the front-end using checkboxes ?

Quick background info: of the three database tables that are relevant for this question, one holds devices info (d.id, d.name), the second one holds accessories for the devices in the first table (a.id, a.name) and the third table handles relations between the first two (d.id, a.id). By selecting one of the available devices from a drop...

Are there any good videos to learn programming basics which are required to learn javascript?

Are there any good video to learn programming basics which are required to learn JavaScript, then jQuery later. for the person who is already having good command over xhtml and css ? future aim is not to learn any server-side language, php, asp.net, ruby ,etc. just pure and advanced javascript/jQuery. Video for absolute programming begi...

Taking advantage of Doctrine relations in frontend applications in Symfony

Let's consider the following simple schema (in Doctrine, but Propel users are welcome too): User: columns: name: string Article: columns: user_id: integer content: string relations: User: local: user_id foreign: id Now, if you create a route for Article model and generate a module via doctrine:generat...

What are the risks associated with Hosting 3rd party Javascripts?

I'm a new developer at my company and I do mostly front-end web development. Our team is frequently asked by our Sales and Marketing people to incorporate 3rd party javascripts on our site. "Here's a 'little code snippet'. Our vendor asked if you could put this in our home page" This makes me very nervous. I know these scripts can ...

customer web site admin tool

How do you create your web site data admin for your customers. Do you do them programatically or do you use any specific tool? I have been using AspMaker and is not a bad option but I'm sure there are a few more options out there. I've seen that MS has a Web Data Administrator but for me it looks more than an sql server web admin tool r...

Is doing pro-bono work a good way to start building a frontend portfolio?

I'm building a portfolio for front-end web development, and have been told that it would be best, starting out, to offer to build site pro-bono for people until I have an adequate level of experience and a large enough portofolio to get paying work. Where would be some good places to offer to make front-ends for free as I develop my ski...

In Rails, what are some good View-specific design patterns that make handling many states easier?

The anti-pattern that I want to kill is: - if !current_user # do something - if !member # do something else - if admin # blah blah blah - else # Bored now. I suspect the answer has something to do with view helpers and partials, but I'm wondering what some of the best practices and design patterns are. Thanks! ...

Next step? What you think about the next step for a Front End Developer?

Hi folks. I am a Front End Developer, experienced in industry for years. I have developed many applications and websites for my various employers and now I am in well condition with JavaScript, jQuery, Ext JS and some other Front End Technologies such as Google Map JavaScript API. Now I want to step the next. So the question is clea...