All Questions

4
answers

What is the difference between client-side and server-side code in web development?

I'm studying ASP.NET through a book called Professional: ASP.NET 4.5 in C # and VB and at various times the author talks about client-side code and server-side , I would like to know the difference.     
asked on 18.12.2013 / 20:22
2
answers

Working with websockets

I'm trying to use WebSockets in PHP and Javascript and I'm confused, it uses the ws: // and wss: // protocol and the hostgator ) do not have these protocols enabled (I think!) and I can not connect, does anyone know if I need to enable these...
asked on 05.06.2014 / 21:39
8
answers

Is it good practice to mix Php and Html?

I see that in python, there is the bottle for example that does the same thing as what I intend to do then ... I'm new to web practice, student indeed and would like to know if I can use php and html in the same place, wanted to know if this...
asked on 06.05.2015 / 01:00
3
answers

What are metadata in relation to HTML documents?

I'm reading a book about HTML. On page 19 the Categories is cited.    Each element in HTML may or may not be part of a group of elements   with similar characteristics. And then the categories of these groups are listed: Metada...
asked on 31.03.2017 / 18:51
1
answer

How to send Tokens from the server to the client?

I am creating an API, I use Token Authentication (JWT), I want this token to be valid for, say, 10 minutes, and, at each request, return a new Token, so the user will have access while active , if it is disconnected for a long time (more than 10...
asked on 17.09.2018 / 22:51
5
answers

How to sort list with complex object by one of its properties?

I have a list of objects and I want to sort the list by one of the properties (Desc of string type), how do I do this? public class Foo { public string Desc { get; set; } // Várias outras propriedades } public class Program { sta...
asked on 10.02.2014 / 18:16
4
answers

How to use SimpleDateFormat in competing environments?

The class SimpleDateFormat is not thread safe . I recently had problems with instances of class SimpleDateFormat in static context being used by multiple threads concurrently in a web application. private static final DateForm...
asked on 11.12.2013 / 20:55
4
answers

How do I know if a particular day is a weekend?

How do you know if an informed day, of the current month, fell on the weekend? For example: echo isWeekend(24) // True echo isWeekend(26) // False In the related topic below, I can know today using the date method: date('w') But...
asked on 26.07.2016 / 14:59
2
answers

What is the difference between View and Materialized View?

According to Oracle documentation, a Materialized View is a database object that contains the results of a query and a View is a logical table based on one or more tables or views and does not contain data itself. Okay, the documentat...
asked on 30.06.2016 / 17:23
2
answers

What is overhead?

I see this term a lot used when it comes to memory overuse, but I do not know in depth if it really is. I noticed that here on the site this term was used in some questions: # What is the overhead of using object orientation?...
asked on 14.04.2017 / 17:17