<?php
namespace OxSama;
class About extends Me implements \JsonSerializable
{
private const GITHUB_URL = 'https://github.com/OxSama';
private const LINKEDIN_URL = 'https://www.linkedin.com/in/oxsama/';
public function whoami(): array
{
return [
'name' => 'Mohammed Tag Eldin Ali',
'title' => 'Senior Software Engineer',
'location' => 'UAE',
];
}
public function getCurrentWorkplace(): array
{
return [
'company' => 'Polaris Technology LLC',
'position' => 'Senior Software Engineer',
'duration' => $this->calculateDuration('2024-07'),
'responsibilities' => [
'Developing enterprise applications',
'Code review',
'Implementing secure development practices',
]
];
}
public function getPreviousWorkplaces(): array
{
return [
[
'company' => 'Maxnet Digital Services',
'position' => 'Software Engineer',
'duration' => '2022-2023',
'highlights' => [
'Developed and maintained multiple web applications',
'Implemented automated testing practices',
'Collaborated with the Sudanese banks on payment and digital transformation solutions',
]
],
[
'company' => 'Nile University',
'position' => 'Teaching Assistant',
'duration' => '2022-2023',
'highlights' => ['Taught programming fundamentals and provided mentorship to students']
],
[
'company' => 'Sudan University For Science & Technology',
'position' => 'Teaching Assistant',
'duration' => '2022-2023',
'highlights' => ['Assisted in teaching computer science courses and labs']
]
];
}
public function getTechnicalSkills(): array
{
return [
'languages' => [
'PHP' => ['Laravel'],
'JavaScript' => ['React', 'Vue.js', 'Node.js'],
'Java' => ['Spring Boot'],
'Dart' => ['Flutter'],
'Python' => ['Django']
],
'databases' => [
'MySQL',
'PostgreSQL',
'MongoDB',
'Redis'
],
'devops' => [
'Docker',
'GitHub Actions'
],
'tools' => [
'Git',
'Linux',
'Apache'
]
];
}
public function getExpertise(): array
{
return [
'Backend Development' => [
'RESTful APIs',
'Microservices',
'Database Design',
'Performance Optimization',
'Secure Development Practices',
],
'Frontend Development' => [
'SPA Architecture',
'State Management',
'UI/UX Implementation'
],
'DevOps' => [
'CI/CD Pipeline Setup',
'Server Configuration',
'Monitoring & Logging'
]
];
}
public function getEducation(): array
{
return [
[
'degree' => 'Bachelor of Science in Computer Science',
'university' => 'Sudan University For Science & Technology',
'year' => '2022',
'achievements' => [
'First Class Honours'
]
]
];
}
public function getContactInfo(): array
{
return [
'email' => '[email protected]',
'linkedin' => self::LINKEDIN_URL,
'github' => self::GITHUB_URL
];
}
private function calculateDuration(string $startDate): string
{
$start = new \DateTime($startDate);
$now = new \DateTime();
$interval = $start->diff($now);
$years = $interval->y;
$months = $interval->m;
if ($years > 0) {
return sprintf('%d year%s %d month%s',
$years,
$years > 1 ? 's' : '',
$months,
$months > 1 ? 's' : ''
);
}
return sprintf('%d month%s', $months, $months > 1 ? 's' : '');
}
public function jsonSerialize(): array
{
return [
'about' => $this->whoami(),
'current_workplace' => $this->getCurrentWorkplace(),
'previous_workplaces' => $this->getPreviousWorkplaces(),
'technical_skills' => $this->getTechnicalSkills(),
'expertise' => $this->getExpertise(),
'education' => $this->getEducation(),
'contact' => $this->getContactInfo()
];
}
}
Newbie who is trying to climb the ranks of league of legends while coding.
Taught how to code from sensei @mustafasalah
- Khartoum - Sudan
- @OX_SAMA
Popular repositories Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.