-
Aid for Inserting Nodes in JS ?
Firebug? I'm not sure what you are asking as javascript doesn't really have nodes. But with Firebug you edit the DOM directly.
-
-
Anyone using Perch CMS?
I'm just starting a second site with Perch and one of the main reasons we've gone with it a second time is that the Ciient finds the editing interface quite easy to use. Perch's strengths are ease of use and the ability to plug it into an existing website meaning we can create a site and then make various areas of it 'editable'. We've also found it easy to create special modules for cases where extra features are needed. And as a programmer the code base is simple and straightforward to understand and extend. On the downside... * it is a 'one man' operation, which means support is basically from Drew or not at all. * The code is uncommented (and uses a mix of tabs and spaces, which annoys me). * You need to think carefully about how you name Regions, Layouts and Files as it is hard to rename things once they've been entered into the database. * There is no routing module. * You'll get used to republishing templates and having to load a page before it exists (existing users know what I mean ) Overall it has worked well for us but I'm not sure it will replace Wordpress or Drupal in our set of tools, it definitely fills in gap though for a simple CMS. HTH someone
-
Reading associative arrays?
Hi This will do what you want: echo $new_invoice[0]['LineItems']['LineItem'][0]['Description']; For adding new line items I would go with something like this: $new_invoice[0]['LineItems']['LineItem'][] = array( 'Description' => 'Sales - Beer Glass', 'Quantity' => '10.00', 'UnitAmount' => '22.00', 'AccountCode' => '400'); Although I will note the naming of your arrays is a little off... HTH, jalal
-
Where should I live?
Hi All I've been living on the continent for the last 15 years or so but now, for family reasons, I'm coming back to the UK. The question is, where should I live? (Or 'we' rather...) It would be cool to live in a city (not London) where there is some sort of web developer/designer scene happening, maybe the occasional meetup or so. My family is from Hants but anywhere in the SW would work OK. I've been looking at Bath/Bristol as that seems kind of interesting and there are a few agencies based in that area. I'm freelance so I don't need to be near an office. If you had your choice of areas to live in, where would you be? cheers, jalal
-
My Web Development Arsenal
Dell XPS-13 with Linux Ubuntu Bamboo tablet (on loan) 22" monitor (BenQ) SublimeText 3 with Emmet Mercurial for my stuff, Git for others. Compass/SASS, AngularJS, jQuery I'm a developer, not a designer, so it's coding all the way for me.
-
PHP get_headers() case sensitive!
You could convert all the keys of the $headers array into uppercase (or lower if you prefer). Then you can be sure of what you have.
-
CMS Basic Questions?
opensourceCMS will let you try out all the main CMS systems, see http://php.opensourcecms.com/
-
Checking PHP
Netbeans 6.5 for PHP has on the fly error syntax checking which I find very useful. Any missing dots or speech marks are immediately flagged with a red underline. Warnings get a yellow triangle in the left column.
-
PHP programmer needs web/graphics/css designer advice
Well, the short answer is "Yes". But I think your real question is: can I show this site to a designer and have them come up with a nice design that works? However, you'll need to have a designer who has some understanding of what it is to design for a dynamically created page (i.e. blocks and regions and banners and how they plug together). I would normally save the page as HTML and have them 'redesign' it with minimal changes to the structure of the HTML and then plug it back in to the templating system or whatever. HTH
-
Wannabe designer
Hi y'all I'm not a designer, I'm a programmer. So, left brain, not right brain Reason I'm here is that I want to move a bit into design stuff, not that I'm aiming to be a designer but I realise that i need to be able to create a starting design for whatever I'm working on before i get the full design work from the designer (or hand things over to them). In particular, although the front, user facing, part of the site is nicely designer, the administration sections end up being just plain old forms and no design work is ever budgeted for that aspect. So, I need to dig into creating a nicer admin interface for the things I do and any pointers to resources for creating good form designs would be much appreciated. And, if anyone needs advice on web programming (mainly PHP, but other stuff as well), then I'll see if I can help out. cheers jalal