Welcome to Programmer Mitra!
Collection of projects to learn from
PYTHON
root = self.winfo_toplevel()
root.title("Attendance Management")
root.configure(bg="#585858")
root.resizable(width=1, height=1)
win_width = 1280
# print(1280 * 56.25 / 100)
win_height = int(1280 * 56.25 / 100)
root.geometry(str(win_width) + "x" + str(win_height))
root.attributes('-alpha', 0.0)
Util.center(root)
root.attributes('-alpha', 1.0)
JAVA
public Login(int totalWinWidth,int totalWinHeight){
frame = new JFrame("Login");
this.totalWinWidth = totalWinWidth;
this.totalWinHeight = totalWinHeight;
winWidth=totalWinWidth-totalWinWidth/20;
winHeight=totalWinHeight-totalWinHeight/20;
prepareGUI();
}
PHP
function getData(Request $request, Response $response) {
$dataarray=[];
try {
$db = new db();
$db = $db->connect();
$stmt = $db->query($sql);
$dataarray = $stmt->FETCHALL(PDO::FETCH_OBJ);
return displaySuccessResult(json_encode($dataarray));
} catch (PDOException $e) {
echo $e;
return Util_errorMsg($response, $e);
}
}
REACT
class HelloMessage extends React.Component {
render() {
return (
Hello {this.props.name}
);
}
}
Programmer Mirta is for learning and training. Projects might be simple to improve learning. Projects are constantly reviewed to avoid errors, but we cannot assure full correctness of all content. While using Programmer Mitra, you agree to have read and accepted our terms of use, cookie and privacy policy.
Copyright 2021 by Programmer Mitra. All Rights Reserved.