File size: 5,919 Bytes
0a5aed0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Features - Pythonic Student Wizard</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link rel="stylesheet" href="style.css">
</head>
<body class="bg-gray-100">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-12">
<div class="max-w-4xl mx-auto">
<div class="text-center mb-12">
<h1 class="text-4xl font-bold text-indigo-700 mb-4">System Features</h1>
<p class="text-xl text-gray-600 max-w-2xl mx-auto">Explore the powerful capabilities of our Student Management System</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-12">
<div class="bg-white rounded-xl shadow-lg p-6 card-hover">
<div class="bg-indigo-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
<i data-feather="user-plus" class="text-indigo-600 w-6 h-6"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Student CRUD</h3>
<p class="text-gray-600">Create, Read, Update, and Delete student records with intuitive forms and validation.</p>
</div>
<div class="bg-white rounded-xl shadow-lg p-6 card-hover">
<div class="bg-indigo-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
<i data-feather="search" class="text-indigo-600 w-6 h-6"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Advanced Search</h3>
<p class="text-gray-600">Filter students by grade, age, performance metrics, and other criteria.</p>
</div>
<div class="bg-white rounded-xl shadow-lg p-6 card-hover">
<div class="bg-indigo-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
<i data-feather="database" class="text-indigo-600 w-6 h-6"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Data Persistence</h3>
<p class="text-gray-600">Save student records in JSON or CSV format for easy data management.</p>
</div>
<div class="bg-white rounded-xl shadow-lg p-6 card-hover">
<div class="bg-indigo-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
<i data-feather="shield" class="text-indigo-600 w-6 h-6"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Input Validation</h3>
<p class="text-gray-600">Comprehensive validation ensures data integrity and prevents errors.</p>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg p-8 mb-8">
<h2 class="text-2xl font-bold text-indigo-700 mb-6">OOP Architecture</h2>
<div class="bg-gray-800 rounded-lg p-4 text-white font-mono text-sm overflow-x-auto mb-6">
<div class="text-green-400 mb-2"># Project Structure</div>
<div>models/</div>
<div class="ml-4">student.py <span class="text-gray-400"># Student class definition</span></div>
<div class="ml-4">manager.py <span class="text-gray-400"># Manager class for operations</span></div>
<div>services/</div>
<div class="ml-4">storage.py <span class="text-gray-400"># Data persistence logic</span></div>
<div class="ml-4">validation.py <span class="text-gray-400"># Input validation</span></div>
<div>ui/</div>
<div class="ml-4">forms.py <span class="text-gray-400"># Streamlit UI components</span></div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Student Class</h3>
<div class="bg-gray-100 rounded-lg p-4 font-mono text-sm overflow-x-auto">
<div>class Student:</div>
<div class="ml-4">def __init__(self, name, age, grade):</div>
<div class="ml-8">self.name = name</div>
<div class="ml-8">self.age = age</div>
<div class="ml-8">self.grade = grade</div>
</div>
</div>
<div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Manager Class</h3>
<div class="bg-gray-100 rounded-lg p-4 font-mono text-sm overflow-x-auto">
<div>class StudentManager:</div>
<div class="ml-4">def add_student(self, student):</div>
<div class="ml-8">pass <span class="text-gray-500"># CRUD operations</span></div>
</div>
</div>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
</body>
</html> |