Cerca

Heus ací els resultats de la cerca.

1.7 Four magic letters: CRUD
106 Resultats, Darrera modificació:
the service) may vary, e.g., it may be a simple relational database residing in a single file, or on ... h one, **universal interface**. The interface itself enables the user to perform a basic set of operations – they are elementary, but complex enough to build complex serv... t's data in a customer database, etc. At REST level, the creation of new items is implemented by the
1.5 What is XML and why do we prefer to use JSON?
89 Resultats, Darrera modificació:
nguage**. Anyway, this is what it thinks about itself. Note – it isn't a programming language, and alt... "utf-8"?> <!-- cars.xml - List of cars ready to sell --> <!DOCTYPE cars_for_sale SYSTEM "cars.dtd"> <... <id>1</id> <brand>Ford</brand> <model>Mustang</model> <production_year>1972</production_year> <price currency="USD">35900</pric
1.4 Talking to JSON in Python
42 Resultats, Darrera modificació:
’d be able to cope with such a challenge. Fortunately, you don't need to. Why? Because there’s a Pyt... expect anything more: <code python> import json electron = 1.602176620898E10−19 print(json.dumps(electron)) </code> The code outputs: <code ; output> 16... ent but the value remains the same. Check it yourself. Let's do the same but with a string, like this
1.6 Making life easier with the requests module
30 Resultats, Darrera modificació:
e using JSON as an information carrier. Unfortunately, our knowledge needs to be supplemented – we nee... which aren't necessary available at the higher levels of software design. The socket module is perfect... u want to understand network issues at the TCP level and to learn which challenges the OS faces when i... d obtain some more specific assistance; unfortunately, some Linuxes offer their own, native ''Node.js'
1.2 How to use sockets in Python
26 Resultats, Darrera modificació:
just such a module. You won't be surprised if we tell you that the module is named socket, will you? ... s only to the extent that it is able to act as a relay for REST. If you want to get fully accustomed w... capsulates a bundle of properties and activities related to the actual sockets' behaviour. This means ... guments, both declared within the module. Let us tell you about them: * the former argument is a do
1.1 Python Professional Course Series: RESTful APIs
24 Resultats, Darrera modificació:
l APIs == Some words about REST The word you see below may look a little enigmatic: REST Are we going... part of our adventure - very demanding and completely new. We'll show you not Python itself, but a very specific kind of machinery (do not take this liter... *tate * **T**ransfer Let's look at them separately. === Representational **RE** stands for //Repr
1.3 JSON – our new friend
18 Resultats, Darrera modificació:
= 1.3 JSON – our new friend Do you sometimes feel that coping with IT issues is a continuous struggle with acronyms? Well, you’re not alone. We share this opinion. An old anecdote says that computer technology development is in fact based on TLA. What is TLA? It's ... Java? Or even JavaScript?” No, we don't. Fortunately, the notation we want to tell you about, althoug
2.1 Python Professional Course Series: Lab & Assessment
4 Resultats, Darrera modificació:
== Working with RESTful APIs: Lab & Assessment **Well done, you've reached the end of the course!** I... nce to do the quiz and the final test to see how well you've mastered the material, and check if you'r... rver to be diagnosed (the diagnosis will be extremely simple, we just want to know if the server is de... rt number is invalid - exiting.") exit(2) else: port = 80 try: sock.connect((addr, po