Questions about PHP, a widely-used general-purpose scripting language that is especially suited for Web development.
0
votes
1answer
31 views
Need help modelling a User/Project/Task relationship
So I'm creating a very simple project/task management application in Laravel 4 and I'm not sure how these relationships would work. I have a Project, Task and User model. A User can own a Project or ...
-3
votes
0answers
67 views
what more should i do in php programming? [on hold]
i am a 5 years experienced php programmer and i am good at logic and good at how the data flows from client to server and to different servers and some other related php subject and now what ...
-1
votes
0answers
35 views
Are templating libraries a good idea for the web-development? [on hold]
Ok for the example of this question, lets assume the PHP framework - Laravel's Blade templating language.
What I could see was that it just substitutes, {{}} for <?php ?>
Is it really a good ...
0
votes
1answer
78 views
Should I save a simple list cookie in Javascript or PHP?
I am currently making a simple list tool. You can click a checkbox to mark it as done and if you navigate away from the page/close the browser and reload, it will still be saved. So it's pretty much ...
-4
votes
0answers
32 views
How to call jQuery on click function on php if statement [on hold]
I have this function of jQuery
$(document).on("click", "#checkMark", function(e) {
iosOverlay({
text: "Success!",
duration: 2e3,
icon: "img/check.png"
});
return false;
});
Which is ...
-4
votes
1answer
57 views
Developing desktop application in Python or ROR [on hold]
I want to create desktop application. Is it possible to develop desktop applications in Python, ROR or PHP? Which is more secure in these languages ?
1
vote
2answers
141 views
Quoting for a project with closed source
I sit with a project that I need to quote, and until the job is awarded, I can only use "View source" to check, and ask a few questions about the system. That makes quoting outright impossible for me ...
0
votes
3answers
126 views
Doesn’t active record violate SRP and OCP?
I have watched the active record classes in our project grow into large, do-it-all classes. When you need anything about a user, for example, you should go to the Person class. While this makes ...
0
votes
2answers
99 views
“Match Making” script, a way without involving the database and php?
I am writing a matchmaking script for a game through a web portal. For the past few days I have been looking into the different options and I believe the following approach would be the most optimal ...
1
vote
3answers
143 views
how to check email address exist or not in php
I have tried a lot but could not find a way by which I will find if an email id exists or not.
My problem is that I do not want to make visitor to email me with fake email Id. Is there any solution ...
2
votes
1answer
114 views
An alternative to an array of functions?
I'm programming an app (php) which requires a very long list of similar yet different functions, which are being called by a set of keys:
$functions = [
"do this" => function() {
// ...
-1
votes
0answers
70 views
Is Node.js/Sails suitable for this project? [closed]
The app is a fairly simple portfolio reporting tool that will do the following:
Aggregate stock brokerage data via CSV files and automated broker confirmation emails
Convert data into web-based, ...
0
votes
1answer
66 views
debugging web applications using debug parameter
A suggestion has been made by a team member to leave all debug code intact in our web pages... and then to create a variable that can be turned on / off to enable /
disable debugging.
This is a ...
0
votes
1answer
90 views
Practical Use of Depency Injection (IoC) Container
I am creating a MVC-ish framework in PHP. I am trying to implement a DI Container to allow the creation of controller objects (among others).
My MVC framework is pretty typical. Each module (or ...
1
vote
1answer
49 views
Updating an Entity through a Service
I'm separating my software into three main layers (maybe tiers would be a better term):
Presentation ('Views')
Business logic ('Services' and 'Repositories')
Data access ('Entities' (e.g. ...