Ruby on Rails

Razvojno okolje: Ruby on Rails

Ruby on Rails: Splošno

Rails razvijalcem ponuja hiter in učinkovit način ustvarjanja spletnih aplikacij, saj ponuja nabor vnaprej pripravljenih komponent in knjižnic. Okvir temelji na arhitekturnem vzorcu MVC (Model-View-Controller), ki zagotavlja jasno ločitev med podatkovnim modelom, aplikacijsko logiko in uporabniškim vmesnikom. Konstante HTTP so v Ruby on Rails pomembne, ker razvijalcem omogočajo enostaven način določanja in uporabe kod stanja HTTP in imen glave. Te konstante so del protokola HTTP in spletnim aplikacijam omogočajo izmenjavo informacij med strežnikom in odjemalcem.

Ruby on Rails: HTTP Konstante

:continue
:switching_protocols
:processing
:early_hints
:ok
:created
:accepted
:non_authoritative_information
:no_content
:reset_content
:partial_content
:multi_status
:already_reported
:im_used
:multiple_choices
:moved_permanently
:found
:see_other
:not_modified
:use_proxy
:reserved
:temporary_redirect
:permanent_redirect
:bad_request
:unauthorized
:payment_reqired
:forbidden
:not_found
:method_not_allowed
:not_acceptable
:proxy_authentication_required
:request_timeout
:conflict
:gone
:length_required
:precondition_failed
:request_entity_too_large
:request_uri_too_long
:unsupported_media_type
:requested_range_not_satisfiable
:expectation_failed
:misdirected_request
:unprocessable_entity
:locked
:failed_dependency
:too_early
:upgrade_required
:precondition_required
:too_many_requests
:request_header_fields_too_large
:unavailable_for_legal_reasons
:internal_server_error
:not_implemented
:bad_gateway
:service_unavailable
:gateway_timeout
:variant_also_negotiates
:insufficient_storage
:loop_detected
:not_extended
:network_authentication_required