Questions tagged [client-side]

The term "client-side" refers to that portion of a web application which runs in the user's browser. Client-side code is most commonly written in Javascript, HTML and CSS. The counterpart of "client-side" is "server-side", i.e., the part of a web application running at the web server.

There are other many client-side techniques, in addition to used in the user's browser such as:

See also:

2357 questions
80
votes
2 answers

Client-side "Feature Tour" (tutorial/instructional) overlay system?

Is there a system/framework in existence which focuses on providing tutorial / help like overlays in the browser? Example: You have a webapp which requires a certain level of instruction to the user. In this instruction process you wish to…
Spot
  • 7,962
  • 9
  • 46
  • 55
76
votes
3 answers

When to use "client-side routing" or "server-side routing"?

I'm a little bit confused about this, and I feel slightly stupid asking this question, but I want to understand it. So, say I'm working with a client side web framework, like Backbone, Angular or Durandal. This framework includes routing. But I of…
tomet
  • 2,416
  • 6
  • 30
  • 45
72
votes
7 answers

AngularJS client MVC pattern?

Until now I was mainly using Struts 2, Spring, JQuery technology stack for building web applications. The point is, that mentioned stack uses server side MVC pattern. The main role of web browsers was limited to a request/response cycle (+ client…
PrimosK
  • 13,848
  • 10
  • 60
  • 78
68
votes
8 answers

Can Python be used for client side web development?

If yes are there any frameworks/Tutorials/tips/etc recommended? N00b at Python but I have tons of PHP experience and wanted to expand my skill set. I know Python is great at server side execution, just wanted to know about client side as well.
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
68
votes
7 answers

Is it possible to check dimensions of image before uploading?

I have an upload control for uploading the images to the server, but before uploading I just want to make sure if the images are of correct dimensions. Is there anything on client side that can be done with JavaScript?
Sabby62
  • 1,707
  • 3
  • 24
  • 37
61
votes
4 answers

Disable client-side validation in MVC 3 "cancel" submit button

OK, been trying things for hours and could use some help. I'm trying to implement a page in MVC 3 that has "back" and "next" buttons. When the back button is clicked I want to disable client-side MVC validation from running so that my action method…
Glenn Doten
  • 2,603
  • 3
  • 21
  • 22
60
votes
5 answers

How to combine ReactJs Router Link and material-ui components (like a button)?

I need to find a solution to be able to combine together the functionality of react router with the material ui components. For instance, I've this scenario: a router and a button. What I tried to do it is to mix them together, and restyle…
axel
  • 3,778
  • 4
  • 45
  • 72
56
votes
1 answer

ASP.NET MVC 3 client-side validation with parameters

Following on from this post Perform client side validation for custom attribute I am trying to get my head around how to do this, passing additional parameters to the client-side script As I understand it so far to implement custom validation with…
ricardo
  • 1,452
  • 1
  • 22
  • 24
56
votes
9 answers

Pagination: Server Side or Client Side?

What is it best to handle pagination? Server side or doing it dynamically using javascript? I'm working on a project which is heavy on the ajax and pulling in data dynamically, so I've been working on a javascript pagination system that uses the dom…
jrutter
  • 3,173
  • 9
  • 42
  • 51
55
votes
6 answers

Which CSS selectors or rules can significantly affect front-end layout / rendering performance in the real world?

Is it worth worrying about CSS rendering performance? Or should we just not worry about efficiency at all with CSS and just focus on writing elegant or maintainable CSS instead? This question is intended to be a useful resource for front-end…
Robin Winslow
  • 10,908
  • 8
  • 62
  • 91
49
votes
2 answers

How to keep API keys secret when using client side Javascript?

For example, check out this Facebook plugin. In the client side the API key is clearly visible. What is stopping another user from obtaining this key and using this feature on a different site? I figured a very naive implementation would be to check…
Finglas
  • 15,518
  • 10
  • 56
  • 89
45
votes
5 answers

In IndexedDB, is there a way to make a sorted compound query?

Say a table has, name, ID, age, sex, education, etc. ID is the key and the table is also indexed for name, age and sex. I need all male students, older than 25, sorted by their names. This is easy in mySQL: SELECT * FROM table WHERE age > 25 AND…
jason
  • 3,471
  • 6
  • 30
  • 43
45
votes
2 answers

How does Angular JS relate to Google Closure?

Now that AngularJS 1.0 is released I am wondering how this project fits together with the other general-purpose JavaScript framework / tool from Google, Closure. I have only seen basic description of those two technologies (and read about a half of…
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
43
votes
5 answers

Save to Local File from Blob

I have a difficult question to you, which i'm struggling on for some time now. I'm looking for a solution, where i can save a file to the users computer, without the local storage, because local storage has 5MB limit. I want the "Save to…
fsx_steven
  • 431
  • 1
  • 4
  • 3
40
votes
8 answers

A step-up from TiddlyWiki that is still 100% portable?

TiddlyWiki is a great idea, brilliantly implemented. I'm using it as a portable personal "knowledge manager," and these are the prize virtues: It travels on my USB flash memory stick and runs on any computer, regardless of operating system No…
Smandoli
  • 6,919
  • 3
  • 49
  • 83