书栈网 · BookStack 本次搜索耗时 0.017 秒,为您找到 117 个相关结果.
  • Data Types

    163 2022-11-24 《Hanami v1.3 Guides》
    Definition Strict Coercible Form JSON Data types are available for custom entities schema , which are completely optional. We have 5 data types: Definition - base type d...
  • Alter Table

    144 2022-11-24 《Hanami v1.3 Guides》
    Methods Shortcuts Rename Table Drop Table Methods The following methods are available for table alterations: #add_column (see #column for usage) #drop_column #rename_co...
  • Control Flow

    183 2022-11-24 《Hanami v1.3 Guides》
    Callbacks Methods Proc Halt HTTP Status Redirect Back Callbacks If we want to execute some logic before and/or after #call is executed, we can use a callback. Callbacks ...
  • Testing

    194 2022-11-24 《Hanami v1.3 Guides》
    Path Generation Route Recognition Hanami has builtin facilities for routing unit tests. Path Generation We can assert the generated routes, to do so, we’re gonna create a spe...
  • Request and response

    181 2022-11-24 《Hanami v2.0 Guides》
    Request Response Response status Response format When a Hanami action is called, the incoming HTTP request and outgoing HTTP response are represented by the request and resp...
  • Testing

    183 2022-11-24 《Hanami v1.3 Guides》
    One of the advantages of views as objects is that we can unit test them. We can both understand if a specific presentational logic behaves correctly and/or assert the contents of...
  • Dependencies API

    1242 2020-07-27 《Gitlab 中文文档》
    Dependencies API Dependencies API List project dependencies Dependencies API 原文:https://docs.gitlab.com/ee/api/dependencies.html List project dependencies Dependenc...
  • Project Security

    194 2022-11-24 《Hanami v1.3 Guides》
    X-Frame-Options X-Content-Type-Options X-XSS-Protection Content-Security-Policy Modern web development has many challenges, and of those security is both very important and o...
  • Exception Handling

    159 2022-11-24 《Hanami v1.3 Guides》
    Default Behavior Custom HTTP Status Custom Handlers Actions have an elegant API for exception handling. The behavior changes according to the current Hanami environment and th...
  • Basic Usage

    189 2022-11-24 《Hanami v1.3 Guides》
    Default Rendering Context Exposures Custom Rendering Bypass Rendering In the previous section we generated a view. Let’s use it. Default Rendering First, we edit the corr...