Software Front End Engineer Position at 4over

I am looking for a new addition in my frontend team ! Please send your resume to [email protected]


  • Great work ethic
  • collaboration spirit
  • Understand the customer’s challenge
  • Develop user facing features
  • Build readable,reusable, optimal code and libraries
  • Optimize the application for speed and capability
  • Assist in troubleshooting software issues
  • Participate in production releases
  • Keep up to date with industry standards
  • Agile Team Practices


  • 5+ years HTML5/CSS3/Javascript (ES5/ES6). Expert proficiency in the latest specifications of each.
  • 3+ years React.js1+ years
  • SQL (MySQL or PostgreSQL)
  • Experience with building and maintaining RESTful APIs

Bonus point 

  • Basic understanding of server-side CSS pre-processing platforms, such as LESS and SASS
  • Proficient understanding of client-side scripting and JavaScript frameworks
  • UI frameworks (Bootstrap, Foundation)
  • Experience with Git, Jenkins,
  • JiraPHP experience
  • Linux Experience (ubuntu, centos)

How to onboard new developer/programmer in your team?

Well let’s start by having them

#1 – writing functional test. They should be able to write functional test that can cover the knowledge transfer explained

#2 – Writing phpdoccs to document the code. They could as well document existing swagger documentation via phpdocs with Zircote for API platform

#3 – Initiate their work through a git pull request
this will trigger a code Review policy

CI/CD contiuous integration
code review continuous integration continuous deployment

Continuous integration implementation click here


How to One-on-Ones – Part 2 ? (Hall Of Fame Guidance)

What is the structure to have with your one on one ?

  1. 10 minutes for direct
    • Start with the sentence -> How is it going ?
  • 10 minutes for manager
    • feedback
  • 10 minutes to talk about :
    – The future
    – Individual Performance
    – Group Performance
    – Employee’s vacation coming up
close partners discussing business document.

from the

General Interview Interview questions PHP

How to PHP/ LAMP light screen interview ?


45 to 60 minutes format interview – Screen Interview

5 minutesIntroduction – Interview
25 minutesTechnical (6 questions)
5 minutesBehavorial (2 questions)
5 minutesPersonality (2 questions)
5 minutesQuestions for us
15 min buffer

Assessment Grid

Front end
readable code
Optimal code
reusable code
passionated ? up to date with latest ?
perseverance / determination
problem solver
collaboration team
work ethic

Behavorial Question

tell us about your latest ‘coding’ project ?
Tell me about a stressful situation at work and how you handled it.
Describe a time when you disagreed with your supervisor on how to accomplish something.
Have you ever had to convince your team to do a job they were reluctant to do?
Have you ever had a deadline you were not able to meet? What happened? What did you do?
Tell me about a time your co-workers had a conflict. How did you handle it?
How have you prioritized being assigned multiple projects?
Tell me about a difficult work challenge you’ve had.
Talk about a time when you had to adapt to big changes at work.
How have you dealt with an angry or upset customer?
Have you ever gone above and beyond to help a customer? What did you do?
Tell me about a time when you had to fight for an idea at work.
Talk about a time where you had to make an important decision quickly. What did you decide? What were the results?
Have you ever been in a business situation that was ethically questionable? What did you do?
Have you ever had a project that had to change drastically while it was in progress? Why? How did you do it?
Talk about a time when a co-worker was not doing their share on a project. How did you handle it?
Tell me about a major setback you’ve had. How did you deal with it?
What have you done when colleagues have been stressed out by a project?
Talk about a difficult problem you’ve had to solve. How did you solve it?
Have you ever had to defend a customer’s point of view? What did you do? Why?
Talk about a time when you’ve had to sell an idea to your colleagues.
Tell me about a problem you solved in a creative way.

Personality Question

If you could change one thing about your personality, what would it be and why?
What are your sports and hobbies outside of work?
Do you prefer working on your own or in a team? Why?
What are you most passionate about?
Can you tell me about a time when you went above and beyond in your job?
How would your best friend describe you?
What makes you unique?
Tell me about a time when you came up with a creative solution to a challenging task. What was the result?
How do you handle stress at work?
How do you feel when someone interrupts you during a task?
Tell me about a time when you disagreed with a manager or colleague about a decision. How did you handle it?
What is your favorite book and why?
Can you name one professional achievement and one personal achievement?
Which superhero would you want to be and why?
What is your greatest fear?

PHP Questions

What is difference between abstract class and interface ?
What is difference between PUT and PATCH ?
tell us about your latest ‘coding’ project ?
What are the steps to create a new database using MySQL and PHP?
30. How to create API in PHP?
Explain type hinting in PHP
Explain the main types of errors.
Do they follow any PHP convention standard of programming ?
Are you familiar with CodeSniffer
Are you familiar with PHPUnit
Do you use Composer? If yes, what benefits have you found in it?
What does MVC stand for and what does each component do?
do you know some design pattern ?
factory pattern ?
interface ?
Factory ?
singleton ?
How do you handle PHP upgrades ?

Javascript Questions

what is nodeJS
Have you used any JS framework ? is yes what are they ?

Database Questions

Q #7) Explain Normalization and De-Normalization.


Normalization is the process of removing redundant data from the database by splitting the table in a well-defined manner in order to maintain data integrity. This process saves much of the storage space.

De-normalization is the process of adding up redundant data on the table in order to speed up the complex queries and thus achieve better performance.
8) What are the different types of Normalization?

Answer: Different types of Normalization are:

First Normal Form (1NF): A relation is said to be in 1NF only when all the entities of the table contain unique or atomic values.
Second Normal Form (2NF): A relation is said to be in 2NF only if it is in 1NF and all the non-key attribute of the table is fully dependent on the primary key.
Third Normal Form (3NF): A relation is said to be in 3NF only if it is in 2NF and every non-key attribute of the table is not transitively dependent on the primary key.

API Question

What restful api method would be appropriate for an upsert ?

Linux Question

Do you know how toi use vim / vi ?
What experience have you had with nginx ? apache ?
What is netstat command?
Explain working of env command.
44. What is pipe?

Deployment Question

Are you familiar with CI ?
Are you familiar with CD ?
Are you familiar with jenkins?
Are you familiar with Git Pull request
are you familiar with GIT branch

How to window sliding ? How to find the greatest sum of 4 elements in array ?

function maxSum( $arr, $n, $k)
    // n must be greater
    if ($n < $k)
        echo "Invalid";
        return -1;
    // Compute sum of first
    // window of size k
    $max_sum = 0;
    for($i = 0; $i < $k; $i++)
    $max_sum += $arr[$i];
    // Compute sums of remaining windows by
    // removing first element of previous
    // window and adding last element of
    // current window.
    $window_sum = $max_sum;
    for ($i = $k; $i < $n; $i++)
        echo "(window_sum) $window_sum \n\r";
        $window_sum += $arr[$i] - $arr[$i - $k];
        echo "(arr[$i])". $arr[$i]." - (arr[$i - $k])".$arr[$i - $k]."\n\r";
        echo "$i (window_sum) $window_sum \n\r";
        $max_sum = max($max_sum, $window_sum);
    return $max_sum;
    // Driver code
    $arr = array(1, 4, 2, 10, 2, 3, 1, 0, 20);
    $k = 4;
    $n = count($arr);
    echo maxSum($arr, $n, $k);
// This code is contributed by anuj_67

How to resolve 3 sums alternative to O(n^3) in PHP

Complexity Analysis: 

  • Time Complexity : O(n2). 
    Only two nested loops are required, so the time complexity is O(n2).
  • Auxiliary Space : O(1), no extra space is required, so the time complexity is constant.
// PHP program to find
// triplets in a given
// array whose sum is zero
// function to print
// triplets with 0 sum
function findTriplets($arr, $n)
    $found = false;
    // sort array elements
    for ($i = 0; $i < $n - 1; $i++)
        // initialize left
        // and right
        $l = $i + 1;
        $r = $n - 1;
        $x = $arr[$i];
        while ($l < $r)
            if ($x + $arr[$l] +
                     $arr[$r] == 0)
                // print elements if
                // it's sum is zero
                echo $x," ", $arr[$l],
                        " ", $arr[$r], "\n";
                $found = true;
            // If sum of three elements
            // is less than zero then
            // increment in left
            else if ($x + $arr[$l] +
                          $arr[$r] < 0)
            // if sum is greater than
            // zero than decrement
            // in right side
    if ($found == false)
        echo " No Triplet Found" ,"\n";
// Driver Code
$arr = array (0, -1, 2, -3, 1);
$n = sizeof($arr);
findTriplets($arr, $n);
// This code is contributed by ajit

Complexity Analysis: 

  • Time Complexity: O(n2). 
    Since two nested loops are required, so the time complexity is O(n2).
  • Auxiliary Space: O(n). 
    Since a hashmap is required, so the space complexity is linear.

// function to print triplets with 0 sum
function findTriplets($arr, $n)
    $found = false;
    for ( $i=0; $i<$n-1; $i++)
        // Find all pairs with sum equals to
        // "-arr[i]"
       $s = array();
        for ( $j=$i+1; $j<$n; $j++)
            $x = -($arr[$i] + $arr[$j]);
            if (in_array($x, $s))
                echo "FOUND => $x, $arr[$i], $arr[$j] \n\r";
                $found = true;
                $s[] = $arr[$j];
    if ($found == false)
        echo " No Triplet Found" ;
// Driver code
function main()
    $arr = array(0, -1, 2, -3, 1);

    $n = count($arr);
    findTriplets($arr, $n);
    return 0;


How to get Git deploy key

Step 1

Step 2

(from MAC)

$ pbcopy < ~/.ssh/

Step 3


How to fix Laravel Trailing Data Exception ?

Setting timestamps to false means you are going to lose both created_at and updated_at whereas you could set both of the keys in your model.

Case 1:

You have created_at column but not update_at you could simply set updated_at to false in your model

class ABC extends Model {

const UPDATED_AT = null;

Case 2:

You have both created_at and updated_at columns but with different column names

You could simply do:

class ABC extends Model {

const CREATED_AT = 'name_of_created_at_column';
const UPDATED_AT = 'name_of_updated_at_column';

Finally ignoring timestamps completely:

class ABC extends Model {

public $timestamps = false;

Trailing data is a Carbon error, it’s because you probably use Postgres and your date returns milliseconds.

“created_at” => “2018-04-19 07:01:19.929554”

You can add the following method to your (base) model.

public function getDateFormat()
     return 'Y-m-d H:i:s.u';

source :


Happy Friday Everyone!


PHPUnit, how to stop on failure ?

Find below the command that exit out phpunit ghracefully when a first error pop out=

phpunit --stop-on-failure
phpunit David Raleche
phpunit David Raleche