Jump to content

Korferer

Members
  • Content Count

    24
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Korferer

  • Rank
    Member
  1. Hi.. I really need help. I'm completely stuck and waaaay out of my depth here. I don't even know where to begin. I am desperate to learn how to use existing API services - but I find the whole concept completely overwhelming. I can't even get something from a Google search because everything on this subject just goes over my head. I have created an account with tvrage.com and got an API key. With that, I can get a list, in XML, of all the current TV shows in the UK and the US. It starts like this; <currentshows> <country name="US"> <show> <showid>69</showid> <showname>Who Wants to Be a Millionaire (US)</showname> <showlink>http://tvrage.com/Who_Wants_to_Be_a_Millionaire_US</showlink> </show> <show> <showid>237</showid> <showname>Jack Van Impe</showname> <showlink>http://tvrage.com/jack-van-impe</showlink> </show> <show> <showid>286</showid> <showname>Figure It Out</showname> <showlink>http://tvrage.com/figure-it-out</showlink> </show> <show> <showid>548</showid> <showname>TNA Pay-Per-View</showname> <showlink>http://tvrage.com/TNA_Pay-Per-View</showlink> </show> <show> <showid>576</showid> <showname>WWE After Burn</showname> <showlink>http://tvrage.com/wwe-after-burn</showlink> </show> All I want, is to list this out on MY website... I am a complete beginner. I imagine I have to copy and paste the URL in to my code, right? A javascript link? But then, what after that? I have barely touched javascript or jquery as a developer. Can someone just give me some guidance on this please? It's really starting to stress me out :-(
  2. So... I build web applications, but all my applications are on an internal server, for internal customers (colleagues, really) so they can shift data around etc. The point is, I never get to put stuff out on the internet. Therefore, things like OAuth (as I understand it) isn't really something I would ever need. My colleagues don't need to be logged in to Facebook in order to use my applications! Or need a shopping cart! I have my own development environment outside of work, I have got composer installed and am currently building something using Laravel 5. I am looking to expand my knowledge of open source. I am sure that Packagist has it's uses... But I'm struggling to see any that would benefit me. All I see when I look through it is symfony dependancy after symfony dependancy and a bit OAuth. Is it really that great? What have you used Packagist for that might be of use in a "data processing" type application? I'm not complaining and I mean no offence to people who use packagist a lot. I am basically just trying to keep up with coding for the internet.. and not just focusing on easy internal applications.
  3. Update; I have installed Vagrant now. And I am running git from my Mac it's working totally fine. This is certainly the way forward!
  4. So basically, I have got VirtulBox set up and running on my personal mac. It's for my own learning/development really. I have installed git, gitolite and gitweb on my virtual server (Guest VM is Ubuntu) and I am getting used to the basics of git. I have a github account and I want to take my git learning to the next level and put my project on to github. I am looking in to this but VirtualBox is saying that I should install GitHub Enterprise which doesn't feel right to me. This is just one guy's development.. Instead I created a new repository on github and ran this; git remote add origin https://github.com....etc/ I got an error, fatal: unable to access 'https://github.com/[username]/[project]': Could not resolve host: github.com Is it because I am doing it from a virtual environment? Would it be easier for me to set up git on my OXS instead and push/pull from the local dev folder? I'd rather not do it that way.. Advice?
  5. I would be amazed if they had any degree. Generally, people who get promoted (or even sideways move) in this organisation, at the "entry level" programmer position would not have a degree! And if they did have a degree, then they are probably more interested in becoming Stats, or Finance as it's super easy to get promoted. But, that is a really good suggestion, so thanks! I hear what you're saying, and funnily enough, a lot of people in my team are still on flip-phones as they are "concerned" with online security! haha. What about general electrician skills? If they can re-wire a plug/lamp, would you consider that a transferable skill? This is not going to be fun - at all!
  6. This isn't really a "programming question", I'd just like some advice really. I have been asked to write a paper by my boss on how we can go about recruiting for our developer roles people who (most likely) are not developers and will not have had any development experience of any kind. The reason for this, is that we have an external recruitment ban within our organisation (which sucks, but there is nothing I can do about it). We have about 20 developer jobs within our team. I work for a government organisation that has thousands of jobs for various purposes such as Finance, Statistics, Contracts - I'm not really sure what else, it's such a massive organisation - but nearly all the IT is outsourced to contractors apart from our little team. Any recruitment we do, they must already be a civil servant. So if they happen to love a bit of web development in their spare time then fantastic, but realistically, they probably won't. So how do you identify if they "have what it takes" to become a developer? Are there any official aptitude tests they can take that will show they are of the right mindset - ha - is there even a right mindset?! Other areas of our organisation use MS Excel a lot. Maybe there is some way of testing their VBA ability which would determine if they'd make a kick-ass programer or not?? I am open to all ideas here!!!
  7. Thanks for your views.. I think I was approaching the application all wrong. As suggested, I thought about what administrator actions are required and then I went ahead and created a few RESTful routes using this fantastic tutorial I found. I am actually making some good progress on this now
  8. Hi, This code works (and correctly shows just one result in my view); $people = DB::table('people')->where('id', '=', $person_id)->get(); But this one doesn't; $people = DB::table('people')->where('id', $person_id)->first(); And produces the error; Trying to get property of non-object (View: /media/sf_sandbox/health/app/views/agreement/display.blade.php) The `people` table just has a few fields of information on the individual with a primary key called `id`. I followed the Laravel guide on select statements. I don't understand what the error is trying to tell me and I don't get why that second statement is wrong. What's so wrong about it? I just want to understand Laravel/Objects better.... Thanks
  9. I am really struggling with the logic aspect of my application. I can't picture the structure and get it clear in my mind. As a result, I can't code anything because I'm second-guessing myself at every turn. My application is pretty simple in reality. It's an application that keeps a record of all the different 'contracts'/'agreements' that my colleagues have signed. Some will have signed three or four depending on what systems they are working on. The application will run a cron, daily, and send out an email to anyone who's contract/agreement is about to expire with an invite for them to renew it. I have already built an application that has a login system and authentication (using Laravel). It was my first Laravel effort and I did it using a tutorial from YouTube. I figured I could use the one login from that to act as the administrator for this whole application. Once the administrator is in, they will be presented with a panel to do various things. This is the part I am stuck on. What do you all think of my "logic"? Here are the basic routes (forgetting the auth stuff which is already done); /contracts - to see a list of all the contact templates out there. /contracts/{contract-id} - to view the specific contract template /contracts/create - GET and POST to be able to add new contract templates for other systems /people - view all my colleagues on one page /people/{person-id} - view a specific colleague and all the contracts they have signed /people/create - GET and POST for this too to be able to add new colleagues to the system /people/{person-id}/create-new-contract - so this would add a record in to a third table which joins info from the people table and the contracts table to make a list of unique contract agreements for each person and their expiry date. GET and POST for this as well I suppose. Even as I'm writing this, I don't know if this will be needed because I might have an emailing class that might do this job better? Hence the writing of this post! /agreements/renew/{renew-code} - This will create a new record in the table and amend the old one to show that the previous agreement has expired and that a new one for the next 365 days is in place.As you can probably tell.. I am struggling a bit. Is there any advice you can give me to help me mentally map out my application before I start coding? I just want to get it right..
  10. That reply doesn't really make a lot of sense. You kind of contradict yourself. Basically, I'm working on a server that is not connected to the internet. It's an intranet. I can't just go and apt-get or composer install a whole bunch of dependencies. So should I be using Laravel at all? What frameworks out there are only just a set of php files? For example.... CodeIgniter. Say what you will about CI, but it is a solution for this kind of environment. I'm looking at CakePHP but it seems pretty much EXACTLY the same as CI
  11. Hi. My sys admin guy has informed me that installing composer is unlikely. They're a bit jumpy about security around here. I tried to download and run Laravel on it's own but I'm getting errors when I go to http://example.com/test/laravel/public/ Warning: require(/var/www/html/test/laravel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/test/laravel/bootstrap/autoload.php on line 17 Fatal error: require(): Failed opening required '/var/www/html/test/laravel/bootstrap/../vendor/autoload.php' (include_path='.:/php/includes:/var/www/html/php/includes:/jpa/release/jpa/includes:/usr/share/pear:/usr/share/php/phpmailer:/apache/htdocs/applications/surveys/Includes:/var/lib/ZF1/library') in /var/www/html/test/laravel/bootstrap/autoload.php on line 17 I'm very new to Laravel and I am basically assuming that the reason for these errors is because i haven't installed all the various dependancies. And that you can only install all the dependancies through Composer. Is this the case? I downloaded the Laravel framework from GitHub Unfortunately.. My only real experience of PHP Frameworks is CodeIgniter. So I've never expoled/used "packages" or "dependancies" and don't really know where they are, or where they go, or what they do! I managed to get Laravel up and running on my personal computer (using Composer).... But, as I've said, I might not be able to do this on my day job server. Any tips? ----- Update ----- Is there a chance I am just misunderstanding the word "Dependancies"? It's not a word I often use. Does it just mean "The PHP files that make up the Laravel Framework"?
  12. Thanks. Your response inspired me to try and get Laravel working on my mac. I couldn't get VirtualBox off the ground - still got a way to go in to understandning how that all works. But I did manage to get Laravel up and running on MAMP. Small steps.
  13. Hi.. I've hit a wall that I cannot seem to overcome - and I don't know what to do about it because I can't even really accurately describe the problem (but I'll try). It seems to me that the only way to progress beyond a certain point, requires you to have a deeper understanding of operating systems and servers and hypervisors etc. Stuff that goes wayyy beyond doing a bit of PHP and Javascript. It's frustrating because I'm at that place and I can't get my head around it all. It's too vast! I really want to stop using MAMP and progress on to things like VirtualBox and Vagrant. The primary reason for doing this is that I am really keen to use a PHP Framework called Laravel. But all the documentation I see tells me that I need to use something called composer to install it. Composer is a dependancy manager (I'm not sure what dependancies are, really) but in order to do that I need a virtual server because I don't think I want all this on my physical machine. In order to get a virtual server I think I need a virtual operating system. I think. So I have tried to install VirtualBox and I just want to sling my laptop out of the f***ing window to be perfectly honest. It's not working. And even if it did work I wouldn't be able to tell. So.. I'm clearly just venting here. There is no question. If there was a question it would be.... How can I just learn enough to get by?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.