You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9fbba1b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: public/md-articles/best-practice/insert-update-delete-statements-with-zend-db.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ language: "en"
15
15
DML (Data Manipulation Language) statements change data values in database tables.
16
16
This article, continuing the Zend_Db series, shows how the three primary DML statements - INSERT, UPDATE, and DELETE - are written in raw SQL and translated into Zend_Db method calls.
17
17
18
-
Continuing the Zend_DB article [series](http://www.dotkernel.com/best-practice/sql-queries-using-zend-db-select/), we are stopping now at DML statements. DML (Data Manipulation Language) statements are statements that change data values in database tables. There are 3 primary DML statements:
18
+
Continuing the Zend_DB article [series](https://www.dotkernel.com/best-practice/sql-queries-using-zend-db-select/), we are stopping now at DML statements. DML (Data Manipulation Language) statements are statements that change data values in database tables. There are 3 primary DML statements:
19
19
20
20
- INSERT - Inserting new rows into database tables.
21
21
- UPDATE - Updating existing rows in database tables.
Copy file name to clipboardExpand all lines: public/md-articles/best-practice/subqueries-with-zend-db.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ language: "en"
14
14
15
15
Continuing the Zend_Db series, this article shows a more complex query - combining COUNT(), LEFT JOIN, and GROUP BY across 3 tables, with a count taken from 2 different tables - and how to build it, including a nested subquery, using Zend_Db.
16
16
17
-
Continuing the Zend_DB article [series](http://www.dotkernel.com/best-practice/sql-queries-using-zend-db-select/), we are stopping now at subqueries.
17
+
Continuing the Zend_DB article [series](https://www.dotkernel.com/best-practice/sql-queries-using-zend-db-select/), we are stopping now at subqueries.
18
18
19
19
As you note, the below is a complicate query, with *COUNT()*, *LEFT JOIN()*, *GROUP BY* - select from 3 tables, and make a count from 2 different tables:
Copy file name to clipboardExpand all lines: public/md-articles/best-practice/what-are-returning-the-fetch-functions-from-zend-db.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ language: "en"
15
15
Continuing the Zend_Db article series, this article walks through the FETCH methods available on Zend_Db_Adapter_Abstract: fetchAll, fetchAssoc, fetchCol, fetchOne, fetchPairs, and fetchRow.
16
16
Each method is shown next to the equivalent old-style code built on query(), next_record(), and f(), so the two approaches can be compared side by side.
17
17
18
-
Continuing the Zend_DB article [series](http://www.dotkernel.com/best-practice/sql-queries-using-zend-db-select/), we are stopping now at *FETCH* methods that are in [Zend_Db_Adapter_Abstract](https://docs.laminas.dev/laminas-db/adapter/):
18
+
Continuing the Zend_DB article [series](https://www.dotkernel.com/best-practice/sql-queries-using-zend-db-select/), we are stopping now at *FETCH* methods that are in [Zend_Db_Adapter_Abstract](https://docs.laminas.dev/laminas-db/adapter/):
Copy file name to clipboardExpand all lines: public/md-articles/best-practice/why-use-current-timestamp-on-a-field-that-record-date-time.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ On a TIMESTAMP field that records date and time when inserting a new record, it'
16
16
This removes the need to set the value manually from PHP or with MySQL's NOW() function, and the ON UPDATE CURRENT_TIMESTAMP clause can additionally keep the field updated automatically on every row update.
17
17
Only one TIMESTAMP field per table can be DEFAULT CURRENT_TIMESTAMP.
18
18
19
-
On a *TIMESTAMP field* that records date and time when *inserting* a new record, it is encouraged to use as a *DEFAULT* value, the **CURRENT_TIMESTAMP** constant. **Why?** Because when inserting a new row in the table for the date and time field there is no need to specifically add its value, either by creating it from PHP code with the [Date/ Time functions](http://www.php.net/manual/en/ref.datetime.php) or with MySQL function [NOW()](http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_now)
19
+
On a *TIMESTAMP field* that records date and time when *inserting* a new record, it is encouraged to use as a *DEFAULT* value, the **CURRENT_TIMESTAMP** constant. **Why?** Because when inserting a new row in the table for the date and time field there is no need to specifically add its value, either by creating it from PHP code with the [Date/ Time functions](https://www.php.net/manual/en/ref.datetime.php) or with MySQL function [NOW()](https://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_now)
Copy file name to clipboardExpand all lines: public/md-articles/how-to/what-is-psr-7-and-how-to-use-it.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ This article lists the PSR-7 interfaces as a cheatsheet, then walks through prac
18
18
PSR-7 is a set of common interfaces defined by PHP Framework Interop Group.
19
19
These interfaces are representing HTTP messages, and URIs for use when communicating trough HTTP.
20
20
Any web application using this set of interfaces is a PSR-7 application.
21
-
More about interfaces and interfaces examples can be found [here](http://php.net/manual/language.oop5.interfaces.php).
21
+
More about interfaces and interfaces examples can be found [here](https://php.net/manual/language.oop5.interfaces.php).
22
22
23
23
## Interfaces
24
24
@@ -29,13 +29,13 @@ The interfaces defined in PSR-7 are the following:
29
29
30
30
| Class Name | Description |
31
31
|---|---|
32
-
|[`Psr\Http\Message\MessageInterface`](http://www.php-fig.org/psr/psr-7/#psrhttpmessagemessageinterface)| Representation of a HTTP message |
33
-
|[`Psr\Http\Message\RequestInterface`](http://www.php-fig.org/psr/psr-7/#psrhttpmessagerequestinterface)| Representation of an outgoing, client-side request. |
34
-
|[`Psr\Http\Message\ServerRequestInterface`](http://www.php-fig.org/psr/psr-7/#psrhttpmessageserverrequestinterface)| Representation of an incoming, server-side HTTP request. |
35
-
|[`Psr\Http\Message\ResponseInterface`](http://www.php-fig.org/psr/psr-7/#psrhttpmessageresponseinterface)| Representation of an outgoing, server-side response. |
36
-
|[`Psr\Http\Message\StreamInterface`](http://www.php-fig.org/psr/psr-7/#psrhttpmessagestreaminterface)| Describes a data stream |
37
-
|[`Psr\Http\Message\UriInterface`](http://www.php-fig.org/psr/psr-7/#psrhttpmessageuriinterface)| Value object representing a URI. |
38
-
|[`Psr\Http\Message\UploadedFileInterface`](http://www.php-fig.org/psr/psr-7/#psrhttpmessageuploadedfileinterface)| Value object representing a file uploaded through an HTTP request. |
32
+
|[`Psr\Http\Message\MessageInterface`](https://www.php-fig.org/psr/psr-7/#psrhttpmessagemessageinterface)| Representation of a HTTP message |
33
+
|[`Psr\Http\Message\RequestInterface`](https://www.php-fig.org/psr/psr-7/#psrhttpmessagerequestinterface)| Representation of an outgoing, client-side request. |
34
+
|[`Psr\Http\Message\ServerRequestInterface`](https://www.php-fig.org/psr/psr-7/#psrhttpmessageserverrequestinterface)| Representation of an incoming, server-side HTTP request. |
35
+
|[`Psr\Http\Message\ResponseInterface`](https://www.php-fig.org/psr/psr-7/#psrhttpmessageresponseinterface)| Representation of an outgoing, server-side response. |
36
+
|[`Psr\Http\Message\StreamInterface`](https://www.php-fig.org/psr/psr-7/#psrhttpmessagestreaminterface)| Describes a data stream |
37
+
|[`Psr\Http\Message\UriInterface`](https://www.php-fig.org/psr/psr-7/#psrhttpmessageuriinterface)| Value object representing a URI. |
38
+
|[`Psr\Http\Message\UploadedFileInterface`](https://www.php-fig.org/psr/psr-7/#psrhttpmessageuploadedfileinterface)| Value object representing a file uploaded through an HTTP request. |
Copy file name to clipboardExpand all lines: public/md-articles/javascript/intro-to-jquery.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ Starting with Dotkernel's 1.5 release, the framework switched from Dojo to jQuer
16
16
It covers the jQuery (`$`) object and CSS-style selectors, chaining methods to manipulate matched elements, binding events like click, and making Ajax calls with `$.get()` and `$.getJSON()`.
17
17
18
18
Starting with the 1.5 release, Dotkernel will make the switch from Dojo to jQuery.
19
-
On jQuery's website, there's an excellent "[Getting started with jQuery tutorial](http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery)", as well as a extensive [documentation](http://api.jquery.com/) for the framework, so I'll just go over a few basic concepts and common examples.
19
+
On jQuery's website, there's an excellent "[Getting started with jQuery tutorial](https://docs.jquery.com/Tutorials:Getting_Started_with_jQuery)", as well as a extensive [documentation](https://api.jquery.com/) for the framework, so I'll just go over a few basic concepts and common examples.
20
20
21
21
## The jQuery Object
22
22
23
23
jQuery is the global object that contains all of jQuery's functionality.
24
24
You will probably want to use $ instead which is a synonim of the same object, only faster to type.
25
-
It contains a few useful methods such as [jQuery.map](http://api.jquery.com/jQuery.map/), but it's mostly used with a selector parameter to retrieve a set of matched elements.
25
+
It contains a few useful methods such as [jQuery.map](https://api.jquery.com/jQuery.map/), but it's mostly used with a selector parameter to retrieve a set of matched elements.
jQuery has [many ajax helper functions](http://api.jquery.com/category/ajax/), here is a simple example that will replace the contents of an element with data loaded from the server:
73
+
jQuery has [many ajax helper functions](https://api.jquery.com/category/ajax/), here is a simple example that will replace the contents of an element with data loaded from the server:
0 commit comments