Showing posts with label Web Programming. Show all posts
Showing posts with label Web Programming. Show all posts

Sunday, November 27, 2016

3.5 jQuery-challenge - Adding to the DOM II



3.4 jQuery-challenge - Adding to the DOM I



3.3 jQuery-challenge - Creating a DOM Node


2.14 jQuery-challenge - Traversing Down


2.13 jQuery-challenge - Traversing Up


2.12 jQuery-cheallenge - using prev()


2.11 jQuery-challenge - using last()


2.10 jQuery-challenge - using first()


2.9 jquery-challenge - using find


Saturday, November 26, 2016

map di React


class RobotItems extends React.Component {
  render() {
    const topics = ["React", "JSX", "JavaScript", "Programming"];
    return (
      <div>
        <h3>Topics I am interested in</h3>
        <ul>
          {topics.map(top => <li>{top}</li>)}
        </ul>
      </div>
    );
  }
}

Tuesday, November 1, 2016

$_SERVER content in Laravel 5.3



Test basename in Laravel 5.3



parse_url in laravel




is_null and empty in laravel 5.3

So I have an empty table here :
Let's see the first output of this code :
So if we use ::find(), then variabel will pass both empty and null checker....Next how about this one :
Result :
Naaah... as we can see, if we use ::select then variabel is not empty or null... :v
buuut... let's see what happens if we check $empty->name,
Result :
We can't use $empty->name for is_null, so :
Sooo... if we just check $empty, then it won't be empty, but if we use $empty->name, it will be an empty .... yaaapss... Next code :
Again, we can't use $empty->name, so just comment it on.....aaaand... the output is like this :
So if we use ->first(), it will be an empty and null... but how about ->get();
So ->get() will fail at is_null... :D.. Then it will be safe if we use empty($var) instead of using is_null.... Ok... the last :
Like we got from get() before, is_null can't be applied, but if we change it to use ->first(), then :












Saturday, October 29, 2016

Import and Run Laravel Project in Eclipse PDT




Okie... Next thing we have to do is configuring laravel new server....So go to "Run" menu, choose "Run Configuration" :
Hit "New" to create a new configuration


Just hit "Finish"... okaay... mmmm.mmmmmmm............Next, right-click on welcome.blade.php, then run as webapplication :


Oooops.... We need to run "php artisan serve" from cmd then... :D
 Refresh the page.... aaaand... tadaaa....