I would love to let others learn from the expertise I build up the last decades and help others enter software development.
This HTML code will show a web page named “Document”. The page is labeled holding English content encoded in UTF-8, will be zoomed to 100% and full width of the device and will render in the highest version of Internet Explorer available. The page is divided into three sections: A header, a main section and a footer.
The header of the page will show a welcome heading followed by a navigation list element with three elements: First a link saying “Item nav 1” to Google’s search website opening in a new window/tab, second a text list item saying “Item nav 2” and third a search form with a search field saying “search…” followed by a search button.
The main section shows a list of two blog articles both holding a example heading, body text and a footer with meta data about the author and the date posted.
The footer shows a “Made with” text message followed by a ♥ symbol.
Ich glaube, ich habe die Datei aus Versehen gelöscht. Allenfalls kann ich sie noch in einem Backup finden.
First this app should only run at a HTTPS connection to secure transmition of the e-mail address and password. Second the UserRepository object that seams to follow Microsoft’s Repository pattern proposed for Laravel should make sure user data is not saved as clear text but rather hashed or protected by other measures by the Data Tier (i.e. Persistence Layer eg. a database). Further more I’d never expose such a vital function on the open internets and would make sure, any web app triggering this POST call is secured by a random hash key generated beforehand by the same app and any call is only answered if that hash is validated before processing the POST data. This would prevent outsiders to flood the UserRepository storage with randomly generated e-mail and password pairs. Last but not least I hope the UserRepository object (not further sepcified in the example) does incorporate checks for both validating e-mail addresses and password strength before creating and saving any new user.
This SQL query searches for a search term in the title and body fields of the articles table or in the lastname and firstname fields of the authors table and yields to a joined result set with title, body, cretaing_date, lastname and firstname limited to 10 results.