nss-day-cohort-47 / c47-notes Goto Github PK
View Code? Open in Web Editor NEWClass notes for C47's server-side course.
Class notes for C47's server-side course.
What is the purpose of creating interfaces for all of our repositories, making private readonly fields for those interfaces in our controllers and then referencing the interface for our SQL queries? As opposed to just using the repository directly....
What exactly is this doing near the top of views? Is this basically tying the view to a specific method on the controller?
@{
ViewData["Title"] = "Create";
}
_ = (dog.ImageUrl == null) ? cmd.Parameters.AddWithValue("@imageurl", DBNull.Value) :
cmd.Parameters.AddWithValue("@imageurl", dog.ImageUrl);
just wondering what/why the underscore
In DogGo, when I added owners and walkers to the nav bar, they send me to localhost/home/owners rather than localhost/owners. Because of this, any links I add to the nav bar don't work.
rather than @walk.Duration they both achieve the same result
I've tried reading into the differences but I'm having a hard time understanding a hard time grasping the differences and why one should be used over another.
Having a cshtml view generated for us is great, but what about when we want custom layouts, divs, or detail views for a ViewModel page. Can we discuss the specific components needed for structuring an cshtml page for a ViewModel?
Is it a good practice to generally pull all data from the database pertaining to the model class, including object properties rather than just a foreign key?
Does more workable data = better? Even if you don't think you're going to use it initially.
i.e. joining a table(s) in the sql command string to build up new objects while building the parent object
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.