Тёмный
Corey Schafer
Corey Schafer
Corey Schafer
Подписаться
Welcome to my Channel. This channel is focused on creating tutorials and walkthroughs for software developers, programmers, and engineers. We cover topics for all different skill levels, so whether you are a beginner or have many years of experience, this channel will have something for you.

We've already released a wide variety of videos on topics that include: Python, Git, Development Environments, Terminal Commands, SQL, Programming Terms, JavaScript, Computer Science Fundamentals, and plenty of other tips and tricks which will help you in your career.


If you enjoy these videos and would like to support my channel, I would greatly appreciate any assistance through my Patreon account:
www.patreon.com/coreyms


You can find me on:
My website - coreyms.com/
Facebook - facebook.com/CoreyMSchafer
Twitter - twitter.com/CoreyMSchafer
Google Plus - plus.google.com/+CoreySchafer44/posts
Tumblr - www.tumblr.com/blog/mycms
Комментарии
@BruceWheeler-c9o
@BruceWheeler-c9o 18 часов назад
Lopez Jose Young Amy Hall Sandra
@Jeevaji14
@Jeevaji14 19 часов назад
You are a genius
@KamalNasirMangal
@KamalNasirMangal 21 час назад
Please continue the GUI course.
@McDonaldIbekwe
@McDonaldIbekwe 23 часа назад
Welcome back. Nice video
@wKaransingh
@wKaransingh День назад
Corey cooked another one!
@juliocefe1807
@juliocefe1807 День назад
OMG, one of the best programming channels on RU-vid
@russiachan2
@russiachan2 День назад
Still great content
@JoBuehler-g3z
@JoBuehler-g3z День назад
Morar Land
@IraLakes-l3n
@IraLakes-l3n День назад
Lang Islands
@MariaThompson-d7y
@MariaThompson-d7y День назад
Walker Ronald Young Scott Gonzalez Ruth
@seymoreclearly
@seymoreclearly День назад
The Master Teacher is back!
@JithinJKumar
@JithinJKumar 2 дня назад
Welcome back corey.. Im now a python developer because of you...
@darklucifer2853
@darklucifer2853 2 дня назад
Sir i know you are busy with your work and life but its humble request please do consider to make a series on python , updated version sharing you indepth knowledge of the concept , main aim is if one is to learn python than on which concepts he should focus on the base (foundations) to make way for a brilliant career like yours in python . A humble request sir do consider thanks
@y-xp2sz
@y-xp2sz 2 дня назад
DISCLAIMER:GENERATED BY AI Learn to create forms and validate user input in Flask for user registration and login. The tutorial covers using WTForms for form creation, validation checks, and handling user data submission. Additionally, it explains how to provide feedback on form errors and implement a login system, setting the stage for database integration in future videos. Highlights: 00:05 Creating user forms in Flask can be complex, but using the WTForms extension simplifies the process significantly. This video walks through setting up a registration form with input validation. -WTForms helps streamline the form creation process by handling backend validation and rendering HTML forms from Python classes. This reduces the complexity of writing forms from scratch. -The importance of organizing code into separate files is highlighted, as it improves code manageability and makes updates easier. This modular approach facilitates better project structure. -Form field validations are crucial for ensuring user input is correct and secure. Implementing validators like data required and length checks helps maintain data integrity. 06:05 The video explains how to build registration and login forms in an application. It emphasizes the importance of input validation and secure handling of user data. -Input validation is crucial for ensuring that fields like email and passwords are filled correctly. Validators like 'data required' and 'equal to' enhance security and user experience. -The video discusses adding a submit button for both forms, which is necessary for sending user information. It highlights the difference in labels for registration and login actions. -Setting a secret key is essential for protecting against security threats like cookie modification. Using Python's secrets module to generate a random string is recommended for better security. 12:11 Creating registration and login routes is essential for building a secure web application. These routes allow users to access forms for registering and logging into the system. -Defining routes for both registration and login enhances user experience by providing a clear navigation path. This setup is foundational for user authentication processes. -Utilizing templates like register.html and login.html helps to maintain a consistent design across the application. This practice improves user engagement and interface aesthetics. -Incorporating security features like CSRF tokens is critical in protecting forms from malicious attacks. This layer of security ensures that user data remains safe during submissions. 18:16 The video demonstrates how to create a registration form, including fields for username, email, password, and confirmation. It also covers adding a submission button and linking to the login page. -Creating individual form fields for username, email, password, and confirm password is essential for user registration. Each field is defined with corresponding variable names to ensure proper data handling. -Including a submit button with a specific class allows for better styling and user experience. Using Bootstrap classes helps maintain a uniform look across the form. -Adding a prompt for users who already have an account enhances usability. This feature directs them to the login page, improving the overall functionality of the registration process. 24:19 Implementing form validation and flash messages improves user experience in web applications. This process ensures that users are informed about their actions and the status of their submissions. -The use of the 'validate on submit' method is crucial for checking form validity before proceeding. This ensures that only valid data is processed and stored. -Flash messages provide a user-friendly way to display alerts after form submissions. They can convey success or error messages, enhancing user feedback. -Redirecting users after form submission is essential for a smooth navigation experience. It prevents confusion by guiding users to relevant pages post-action. 30:24 The tutorial demonstrates how to implement form validation in a web application. It covers how to provide user feedback for both successful and unsuccessful form submissions. -The importance of validating form inputs is highlighted, ensuring users receive immediate feedback on their submissions. Correct input is essential for seamless user experience. -The necessity of server-side validation is emphasized, as the next video will cover integrating a database for actual user account creation. This is crucial for data management. -The tutorial explains how to display validation errors under each input field using Bootstrap classes. This enhances user understanding of what needs to be corrected. 36:29 Form validation is crucial for user registration and login processes, ensuring that users provide the correct information. Implementing effective feedback mechanisms enhances user experience by guiding them through corrections. -The importance of providing real-time feedback in forms helps users understand their mistakes immediately. This reduces frustration and improves the likelihood of successful submissions. -Utilizing bootstrap classes for styling form validation messages creates a visually appealing and user-friendly interface. This approach reinforces the importance of usability in web design. -The transition from the registration page to the login page demonstrates how similar components can be reused in web development. This promotes efficiency and consistency across web applications. 42:34 This segment covers the implementation of a basic login system using Flask, including user validation and error handling for incorrect credentials. It emphasizes the importance of using proper alert classes to enhance user experience. -The login system validates user credentials and provides feedback through flash messages for both successful and unsuccessful attempts. This enhances the user interface's interactivity and responsiveness. -Utilizing Bootstrap classes for alerts improves the visual feedback users receive during the login process, making it easier to understand success or failure messages. This contributes to a more polished application. -The video highlights the significance of using the URL for function to create dynamic links, ensuring that navigation remains intact even if routes change in the application. This approach fosters maintainability.
@dingdongkornik9521
@dingdongkornik9521 2 дня назад
very helpful to newbies like me. thanks
@Dara-lj8rk
@Dara-lj8rk 2 дня назад
thanks
@ForWork-mj9fv
@ForWork-mj9fv 2 дня назад
Thank you Corey
@memestream8929
@memestream8929 2 дня назад
I LOVE YOU
@coreyms
@coreyms 2 дня назад
🫶
@Ghasakable
@Ghasakable 2 дня назад
dataclasses next please
@JustinBlalock-s9l
@JustinBlalock-s9l 2 дня назад
For anyone who could not get anything else to work use this: <div> <a class="btn btn-secondary btn-sm mt-1 mb-1" href="{{ url_for('update_post', post_id=post.id) }}" onclick="return confirm('Are you sure?')">Update</a> <form action = "{{url_for('delete_post', post_id = post.id )}}", method = "POST" > <button class="btn btn-danger" type="'submit" onclick="return confirm('Are you sure?')">delete</button> </form> </div>
@saeidsas2113
@saeidsas2113 2 дня назад
Hi. In which video did you talk about the class? that line of code related to class Employee() seems has not been cover before this course 21. Thank you
@HeidiKabina-r2j
@HeidiKabina-r2j 3 дня назад
Kieran Estate
@volbla
@volbla 3 дня назад
It's also fairly easy to modify Paths with the .with_name(), .with_stem() and .with_suffix() methods.
@coreyms
@coreyms 3 дня назад
Great point! There’s definitely some additional useful things to do with it that weren’t touched on in the vid
@NoahElRhandour
@NoahElRhandour 3 дня назад
Glad, one of my favorite teachers of all time is back!
@InnerPeace.-sr6ui
@InnerPeace.-sr6ui 3 дня назад
Best ever tutorial🥊🥊🥊
@bismarkasirifiantwi7231
@bismarkasirifiantwi7231 3 дня назад
Continue your good work, Mr.Corey🥰😂😀👍
@SkNiazi786
@SkNiazi786 3 дня назад
Who is here after new tutorial on pathlib by this awesome dude.
@dgbene1
@dgbene1 3 дня назад
Took me a little while to get into. It’s so much easier than using os.
@philliproesch7932
@philliproesch7932 3 дня назад
legend
@joeep4644
@joeep4644 3 дня назад
Here is my method: country_grp['LanguageHaveWorkedWith'].apply(lambda x: x.str.contains('Python').value_counts(normalize=True))
@jvapr27
@jvapr27 3 дня назад
Can you explain on how to use loggers in multiple classes